------- Comment #11 from jvdelisle at gcc dot gnu dot org 2006-03-09 06:39 ------- OK, after some discussion on comp.lang.fortran it is clear tha END and EOR are not error conditions. They are there to allow for example, reading in a loop until the end of a file is reached and branching out. A true error condition would be something like a disk failure and the like.
So, if an application is anticipating hitting the End-of-File deliberately then use the END parameter. Likewise for EOR. The most portable method to handle things is to use IOSTAT and test for the conditions of interest. I think the right thing to do is close this as not-a-bug. -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26509