This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56803] EOF with namelist read give INTERNAL error instead of END OF FILE error
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 01 Apr 2013 20:10:02 +0000
- Subject: [Bug fortran/56803] EOF with namelist read give INTERNAL error instead of END OF FILE error
- Auto-submitted: auto-generated
- References: <bug-56803-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56803
--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-01 20:10:02 UTC ---
This is fixed on 4.9 by patch to PR56786, but it patch does need to be
backported.
$ gfc tc56803.f90
$ ./a.out
At line 8 of file tc56803.f90 (unit = 99, file = '/tmp/gfortrantmp5qfaGE')
Fortran runtime error: End of file