The following test program, extracted from my modular program system (for error/compiler bug(?) representation), is working fine with the 32-bit FTN95 version (8.10). Compiling with the 64-bit option it goes wrong, I cannot get my data back. If 'iflint' is not listet in the COMMON /abrc2/, the 64-bit version works also correctly! But I need the option with these kind of values in the COMMON block!
Code and results:
program test2
c
common /abrc2/ iflint
c ****
c
parameter(ilav1=45000000)
common /rsy/ feld(ilav1)
dimension dfeld(ilav1),ifeld(ilav1)
equivalence(feld(1),ifeld(1))
equivalence(feld(1),dfeld(1))
c
iflint=3109312
lmaxd=ilav1
k1=35
nr=100010
c
call bleins (k1,nr,dfeld(iflint),lflint,lmaxd,6)
c ****
write (,) 'Daten in FELD:'
write (,) ( feld(iflint+i),i=0,15)
write (,) 'Daten in DFELD:'
write (,) (dfeld(iflint+i),i=0,15)
c
end program test2
c
c
subroutine bleins (inr,nr,crx,l,lmx,io)
dimension nr(32),crx()
write (io,) 'inr:',INR
write (io,) 'nr :',nr(1)
write (io,) 'lmx:',lmx
c
l=28980
do i=1,l
crx(i)=4711.
end do
c
return
end subroutine bleins
c
c
32-bit compiling:
inr: 35
nr : 100010
lmx: 45000000
Daten in FELD:
4711.00 4711.00 4711.00 4711.00 4711.00 4711.00 4711.00
4711.00 4711.00 4711.00 4711.00 4711.00 4711.00 4711.00
4711.00 4711.00
Daten in DFELD:
4711.00 4711.00 4711.00 4711.00 4711.00 4711.00 4711.00
4711.00 4711.00 4711.00 4711.00 4711.00 4711.00 4711.00
4711.00 4711.00
64-bit compiling:
inr: 35
nr : 100010
lmx: 45000000
Daten in FELD:
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000
Daten in DFELD:
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000
0.00000000000 0.00000000000 0.00000000000 0.00000000000 [/b][/code]