[Bug libfortran/26136] List directed input with underfilled (logicals) array read incorrectly
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 06:00:00 GMT 2006
------- Comment #24 from jvdelisle at gcc dot gnu dot org 2006-03-03 06:00 -------
Subject: Bug 26136
Author: jvdelisle
Date: Fri Mar 3 06:00:08 2006
New Revision: 111672
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111672
Log:
2006-03-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26136
* io/io.h: Add flag for reading from line_buffer.
* io/list_read.c (l_push_char): New function to save namelist
input when reading logicals.
(free_line): New function to free line_buffer memory.
(next_char): Added feature to read from line_buffer.
(read_logical): Use new functions to test for '=' after reading a
logical value, checking for possible variable name.
(namelist_read): Use free_line when all done.
Modified:
branches/gcc-4_1-branch/libgfortran/ChangeLog
branches/gcc-4_1-branch/libgfortran/io/io.h
branches/gcc-4_1-branch/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26136
More information about the Gcc-bugs
mailing list