[Bug fortran/35627] [4.3, 4.4 regression] namelist read error
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 20 02:06:00 GMT 2008
------- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-03-20 02:05 -------
Subject: Bug 35627
Author: jvdelisle
Date: Thu Mar 20 02:05:05 2008
New Revision: 133360
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133360
Log:
2008-03-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35627
* io/list_read.c (free_line): Clear the line buffer enable flag and
reset the index into line_buffer, aka item_count.
(next_char): Cleanup whitespace.
(read_logical): Use unget_char to assure that the first character of
the
bad logical is saved in case it is part of an object name. Remove the
clearing of index and flag that is now in free_line.
(read_real): Likewise.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35627
More information about the Gcc-bugs
mailing list