From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 838 invoked by alias); 3 Mar 2006 06:00:16 -0000 Received: (qmail 732 invoked by alias); 3 Mar 2006 06:00:13 -0000 Date: Fri, 03 Mar 2006 06:00:00 -0000 Message-ID: <20060303060013.731.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/26136] List directed input with underfilled (logicals) array read incorrectly In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg00301.txt.bz2 List-Id: ------- 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 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