PR 49296 List read, EOF without preceding separator
authorJanne Blomqvist <jb@gcc.gnu.org>
Wed, 13 Jul 2011 18:46:44 +0000 (21:46 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Wed, 13 Jul 2011 18:46:44 +0000 (21:46 +0300)
commit5f54710465b16155cffaa7934e29533cd2d21292
treee79f00855ec05f85b621ccd763a2676cc70806e1
parent9e34e53f8e2c0379411d643790e0587038d922cf
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.

From-SVN: r176245
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/read_list_eof_1.f90
libgfortran/ChangeLog
libgfortran/io/list_read.c