[Bug fortran/78670] [F03] Incorrect file position with namelist read under DTIO

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 26 04:00:00 GMT 2017


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

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
With latest patches on trunk, I get this:

$ ./a.out 
Got ' '
Got '='
At line 72 of file pr78670.f03
Fortran runtime error: End of file

A minor problem with the test case is

IF (ch /= '') THEN

should be

IF (ch /= ' ') THEN

Still investigating.


More information about the Gcc-bugs mailing list