[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

manfred99 at gmx dot ch gcc-bugzilla@gcc.gnu.org
Wed Jul 16 10:49:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513

--- Comment #26 from Manfred Schwarb <manfred99 at gmx dot ch> ---
I just tested g77.
As suspected, g77 is in line with gfortran 4.5.
It happily accepts the following and does not throw an error
in the END clause case:
      READ(lun,END=100) buffer
100   WRITE(lun,*) "whatever"



More information about the Gcc-bugs mailing list