This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
- From: "jb at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 3 Jul 2011 15:55:29 +0000
- Subject: [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
- Auto-submitted: auto-generated
- References: <bug-49296-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #12 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-03 15:54:05 UTC ---
Author: jb
Date: Sun Jul 3 15:54:02 2011
New Revision: 175787
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175787
Log:
PR 48296 Accept EOF as separator when reading string with list format.
2011-07-03 Janne Blomqvist <jb@gcc.gnu.org>
Backport from mainline:
PR libfortran/49296
* io/list_read.c (read_character): Accept EOF as a separator when
reading string.
2011-07-03 Janne Blomqvist <jb@gcc.gnu.org>
Backport from mainline:
PR libfortran/48296
* gfortran.dg/read_list_eof_1.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
Modified:
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/libgfortran/ChangeLog
branches/gcc-4_6-branch/libgfortran/io/list_read.c