------- 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