------- Comment #2 from fxcoudert at gcc dot gnu dot org 2005-12-11 10:52 ------- So, following Steven's question on c.l.f, this code is illegal.
Most compilers report an EOF error (including Intel and g77), and branch if an END tag is present. I think the error issued by gfortran currently is better ("Read past ENDFILE record"), ie more precise. If people provide an END tag in the I/O statement, what do we want to do? I am in favour of throwing an error, and not branching silently. I know (from c.l.f) Brook thinks the same. I think we can close this as INVALID if you agree, Steven. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25340