------- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-01-25 09:32 ------- (In reply to comment #6) > I don't see this problem any more. Was this fixed? Is the default record > length an issue any more? Can we close this PR? I wonder if the fix to > P25835 > fixed this? If so I propose we close this unless it is related to the new PR > Janne is working on, large records with little writes, 25949.
As I said in comment #5, the limit was just pushed higher, but big writes on preconnected units still fail: $ gfortran a.f90 && ./a.out > bigfile At line 3 of file a.f90 Fortran runtime error: End of record $ cat a.f90 real :: array(100000000) array(:) = 0 write(*,*) array end $ ll bigfile -rw-r--r-- 1 coudert users 1.0G Jan 25 10:28 bigfile $ gfortran -v Using built-in specs. Target: i386-linux Configured with: ../gcc/configure --prefix=/tmp/gfortran-20060124/irun --enable-languages=c,fortran --host=i386-linux --with-gmp=/tmp/gfortran-20060124/gfortran_libs Thread model: posix gcc version 4.2.0 20060124 (experimental) You can look at the patch cited in comment #5 for where the problem lies. And this is not really related to Janne's PR, I guess. It's specific to preconnected units. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20257