re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 15 Mar 2014 15:12:01 +0000 (15:12 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 15 Mar 2014 15:12:01 +0000 (15:12 +0000)
commite94710443aa0359d24db682ba8d856776c3dfa1f
tree22ddb258738eb39ae5fa42da1db96e18c023eef8
parent68a230443864dcefe9e368997d65e1d1777d6fc8
re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker)

2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/58324
* io/list_read.c (finish_list_read): Read one character to check
for the end of the file.  If it is the end, then issue the file
end error message.  If not, use eat_line to reach the end
without giving error.  The next attempt to read will then
issue the error as described above.

From-SVN: r208591
libgfortran/ChangeLog
libgfortran/io/list_read.c