[Bug fortran/40714] [4.4, 4.5 Regression] Fortran runtime error: Invalid argument

jb at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 15 21:42:00 GMT 2009



------- Comment #6 from jb at gcc dot gnu dot org  2009-07-15 21:42 -------
Ok, so the problem is that due to the EOF the first read hits, the
current_record marker is not properly reset to 0 at the end of the data
transfer, and from that it follows that stuff isn't correctly initialized at
the next I/O statement.

Trying to figure out where to properly place the reset.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40714



More information about the Gcc-bugs mailing list