This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20257] Fortran runtime error: End of record occurs when writing large arrays
- From: "coudert at clipper dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2005 10:34:20 -0000
- Subject: [Bug libfortran/20257] Fortran runtime error: End of record occurs when writing large arrays
- References: <20050301025021.20257.kamaraju@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From coudert at clipper dot ens dot fr 2005-03-03 10:34 -------
Partial fix proposed here: http://gcc.gnu.org/ml/fortran/2005-03/msg00023.html
This fixes the bug when writing to files, but there still is the case of
preconnected units (stdout, stderr). This will need a little more thinking.
Reduced test case for preconnected units:
real :: array(10000)
array(:) = 0
write(*,*) array
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20257