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 1882 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Block Data and 64-bit
mecej4

Replies: 8
Views: 154

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: 154

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: 0
Views: 77

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: 353

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: 218

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: 228

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: 799

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: 279

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: 413

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: 413

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: 413

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 ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 799

PostForum: Support   Posted: Fri Feb 16, 2024 4:43 pm   Subject:
Thanks, Paul; there are no surprises in what you found.

Implementing CONTIGUOUS could be done in two stages. In the first stage, the compiler would recognise CONTIGUOUS as a standard-approved attri ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 799

PostForum: Support   Posted: Thu Feb 15, 2024 5:20 pm   Subject:
Thanks, Paul.

Indeed, I tried adding the CONTIGUOUS attribute to the dummy argument declarations to which these array sections are being passed, and the program ran fine when compiled with other c ...
  Topic: Access violation while compiling
mecej4

Replies: 1
Views: 156

PostForum: 64-bit   Posted: Thu Feb 15, 2024 2:57 pm   Subject: Access violation while compiling
The latest version of the compiler (9.02) aborts with an access violation (attempt to read from location 00000034) when asked to compile the test file (Link: https://www.dropbox.com/scl/fi/eskn8v3gjrt ...
  Topic: Severe slowdown if pointers passed as actual arguments
mecej4

Replies: 10
Views: 799

PostForum: Support   Posted: Fri Feb 09, 2024 3:13 pm   Subject:
Paul,

Encouraged by your agreeing to look into this issue, I continued my attempts to produce a shorter reproducer, and this time I succeeded.

I diverted the arrays in HST3D to an unformatted fi ...
 
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