http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58324

--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sat Mar 15 15:12:01 2014
New Revision: 208591

URL: http://gcc.gnu.org/viewcvs?rev=208591&root=gcc&view=rev
Log:
2014-03-15  Jerry DeLisle  <jvdeli...@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.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c

Reply via email to