[Bug fortran/40812] Incorrectly writes/reads formatted ASCII files greater than 2Gb

2009-07-21 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-07-21 08:06 --- Also works with -m32 (= i386) on x86-64-linux. (For completeness: There is a 2GB problem for FTELL, cf. PR 39654, due to the ABI.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40812

[Bug fortran/40812] Incorrectly writes/reads formatted ASCII files greater than 2Gb

2009-07-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-07-21 05:04 --- Works OK on i86-64-linux. I also ran the original test programs on Cygwin and results are also OK all the way through. I wonder if we can get another mingw attempt Note: 4 Gb file here. -- http://gcc.gnu.o

[Bug fortran/40812] Incorrectly writes/reads formatted ASCII files greater than 2Gb

2009-07-20 Thread apotapov at math dot ualberta dot ca
-lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lms vcrt e:/program files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/crtend.o Thanks, Alex - Original Message - From: "kargl at gcc dot gnu dot org" To: Sent: Monday, July 20, 2009 6:01 PM Subject: [Bug

[Bug fortran/40812] Incorrectly writes/reads formatted ASCII files greater than 2Gb

2009-07-20 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-07-21 00:01 --- What's the output to 'gfortran -v'? Since you said it's a 2 GB file size problem, I modified your program to nrp = huge(nrp) / 60 open(1, file = 'tst.dat') do i = 1, nrp+1 write(1, '(6i10)