This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings


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

--- Comment #16 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-13 18:46:48 UTC ---
Author: jb
Date: Wed Jul 13 18:46:44 2011
New Revision: 176245

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176245
Log:
PR 49296 List read, EOF without preceding separator

2011-07-13  Janne Blomqvist  <jb@gcc.gnu.org>

    PR libfortran/49296
    * io/list_read.c (read_logical): Don't error out if a valid value
    is followed by EOF instead of a normal separator.
    (read_integer): Likewise.

testsuite:

2011-07-13  Janne Blomqvist  <jb@gcc.gnu.org>

    PR libfortran/49296
    * gfortran.dg/read_list_eof_1.f90: Add tests for integer, real,
    and logical reads.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]