forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 1886 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Correct code rejected by compiler with /64 /opt
mecej4

Replies: 2
Views: 253

PostForum: 64-bit   Posted: Sun Mar 31, 2024 12:14 pm   Subject: Correct code rejected by compiler with /64 /opt
The following code contains a subroutine with a 1-dimensional array argument whose name is the same as that of an intrinsic function, INT.
subroutine elmhes(Nm,N,Low,Igh,A,Int)
implicit ...
  Topic: Use of intrinsic function TAN as arg fcn.causes linker error
mecej4

Replies: 3
Views: 385

PostForum: 64-bit   Posted: Tue Mar 26, 2024 5:20 pm   Subject: Use of intrinsic function TAN as arg fcn.causes linker error
The Zip file https://www.dropbox.com/scl/fi/h5dv3i9a4rr5lvz15g4fs/xfzero.zip?rlkey=ot6eqa8xfth5j7ovokdcypmyo&dl=0 contains two source files. The driver, fztest.f90, is just
program tfztest
im ...
  Topic: Labelled DO loop and /opt /64 leads to optimisation bug
mecej4

Replies: 2
Views: 460

PostForum: 64-bit   Posted: Sat Mar 09, 2024 6:35 pm   Subject: Labelled DO loop and /opt /64 leads to optimisation bug
The following is what is left after trimming a 25,000 LOC Fortran 95 program to pin down a suspected optimisation bug.

program labDObug
implicit none
integer, parameter :: nx = 5, n ...
  Topic: SDBG64 bleeds bits of source line to next line (source pane)
mecej4

Replies: 0
Views: 203

PostForum: 64-bit   Posted: Sat Mar 09, 2024 2:10 pm   Subject: SDBG64 bleeds bits of source line to next line (source pane)
When debugging with SDBG64, I sometimes see that when the source code pane has its width reduced using the mouse, parts of a long line of source code that are now beyond the right edge of the pane are ...
  Topic: Block Data and 64-bit
mecej4

Replies: 8
Views: 502

PostForum: 64-bit   Posted: Fri Mar 01, 2024 3:37 pm   Subject:
Bill, there is a way to make sure that needed initializations in one or more BLOCK DATA program are not skipped by the linker -- something that I learned from Eddie a few years ago.

In each BLOCK D ...
  Topic: Block Data and 64-bit
mecej4

Replies: 8
Views: 502

PostForum: 64-bit   Posted: Fri Mar 01, 2024 1:24 am   Subject:
Please provide example code and instructions to produce and observe described behaviour.

The following code works as expected. Compile with /debug, link and open in the debugger.

! examine BLOC ...
  Topic: Bugs related to allocatable arrays as subroutine arguments
mecej4

Replies: 1
Views: 373

PostForum: Support   Posted: Thu Feb 29, 2024 5:40 pm   Subject: Bugs related to allocatable arrays as subroutine arguments
The following test program fails to work correctly when built with FTN95 9.02.

program allocarg ! Expects compiler to support "(re)allocate on assignment"
impl ...
  Topic: Access Violation in CCOPY
mecej4

Replies: 8
Views: 704

PostForum: Support   Posted: Tue Feb 27, 2024 4:00 pm   Subject:
Kevin,

As you probably know, the more users with diverse PC hardware and Windows versions use your code, the more likely it is that bugs will be noted and fixed.

If you are able and willing to p ...
  Topic: Puzzling error reports for short correct program
mecej4

Replies: 1
Views: 381

PostForum: Support   Posted: Sat Feb 24, 2024 6:53 pm   Subject: Puzzling error reports for short correct program
The short program below was constructed to display a problem that I had with building and running the Hydrotherm program ( https://volcanoes.usgs.gov/software/hydrotherm/ ) with FTN95, 32 or 64 bit.
...
  Topic: Wrong result with /64 /opt, module variable used as DO index
mecej4

Replies: 2
Views: 366

PostForum: 64-bit   Posted: Thu Feb 22, 2024 8:57 pm   Subject: Wrong result with /64 /opt, module variable used as DO index
When the following program is built with /64 /opt and run, the result is wrong -- a zero is printed instead of 34^2 = 1156.

module imod_m
implicit none
integer idir
end module

program t ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 1188

PostForum: Support   Posted: Thu Feb 22, 2024 1:03 am   Subject:
Great news! I look forward to the release of the compiler with the fixes.
  Topic: FTN95 does not allow FINDLOC for LOGICAL arrays
mecej4

Replies: 2
Views: 518

PostForum: Support   Posted: Sun Feb 18, 2024 1:20 pm   Subject: FTN95 does not allow FINDLOC for LOGICAL arrays
The FINDLOC intrinsic function was added in F2008, and it was added to the repertoire of FTN95 in 2022. The BACK optional argument was added to FTN95 in Nov. 2023. According to F2008 the required firs ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 5
Views: 649

PostForum: Support   Posted: Sat Feb 17, 2024 2:04 pm   Subject:
Display compiler information, results (5 real numbers) and terminate (expected, normal)
Display compiler information and hang
Display compiler information, results and hang
Display pop-up for acces ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 5
Views: 649

PostForum: Support   Posted: Sat Feb 17, 2024 2:01 pm   Subject:
Paul, here is a shorter reproducer that also generates its own input data instead of reading a large input data file.

program gcgtst ! demonstrates bug(s) related to ASSOCIATE
i ...
  Topic: Program hangs on entering ASSOCIATE construct
mecej4

Replies: 5
Views: 649

PostForum: Support   Posted: Fri Feb 16, 2024 4:51 pm   Subject: Program hangs on entering ASSOCIATE construct
When an "associate name" is used as an actual argument in order to pass an array section to a subprogram, FTN95 may generate code that hangs or quits abruptly, even when the /check or /undef ...
 
Page 1 of 126 Goto page 1, 2, 3 ... 124, 125, 126  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group