[Bug fortran/44934] [4.6 Regression] Bogus "Missing format for FORMATTED data transfer"
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 15 03:33:00 GMT 2010
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2010-07-15 03:32 -------
Created an attachment (id=21206)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21206&action=view)
Fix for this regression.
Tobias said:
Another question is why is the file marked as FORMATTED? "READ (unit)" should
be unformatted, shouldn't it? And the file has not been explicitly opened for
formatted I/O. Or have I missed some I/O fine print?
Attached patch fixes this. I assumed "unspecified" would be correct. It is
not. The patch cleans up whitespace in transfer.c, ignore that. The bug is in
file_pos.c. Also, I botched endfile_2.f90 which was trying to tell me we had a
regression.
Thanks Dominique for reporting the problem. Regression tests ok. I will commit
shortly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44934
More information about the Gcc-bugs
mailing list