[Bug libfortran/26136] List directed input with underfilled (logicals) array read incorrectly
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 1 06:04:00 GMT 2006
------- Comment #21 from jvdelisle at gcc dot gnu dot org 2006-03-01 06:04 -------
Subject: Bug 26136
Author: jvdelisle
Date: Wed Mar 1 06:04:45 2006
New Revision: 111597
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111597
Log:
2006-02-28 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:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/io.h
trunk/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26136
More information about the Gcc-bugs
mailing list