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"