Author |
Message |
Topic: SDBG64 with derived types |
mecej4
Replies: 11
Views: 549
|
Forum: 64-bit Posted: Sat May 04, 2024 10:52 pm Subject: |
Dan, I used 9.02 without /check or /undef.
FTN95 gives, if I am not mistaken, an incorrect warning:
WARNING S:\LANG\dan.F90 12: MOD!SPECIES is not ALLOCATABLE yet is used in an ALLOCATE ... |
Topic: SDBG64 with derived types |
mecej4
Replies: 11
Views: 549
|
Forum: 64-bit Posted: Fri May 03, 2024 2:56 pm Subject: |
Dan, your program is almost working. All that you have to do is to make sure that subscript bounds are honored, or, equivalently, allocate arrays with sufficient size.
Here is a fixed-up version:
... |
Topic: Correct code rejected by compiler with /64 /opt |
mecej4
Replies: 2
Views: 511
|
Forum: 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: 2911
|
Forum: 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: 1015
|
Forum: 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: 885
|
Forum: 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: 1130
|
Forum: 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: 1130
|
Forum: 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: 1086
|
Forum: 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: 1457
|
Forum: 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: 1070
|
Forum: 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: 887
|
Forum: 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: 2018
|
Forum: 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: 1186
|
Forum: 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: 1385
|
Forum: 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 ... |
|