From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6242 invoked by alias); 12 Feb 2006 01:31:11 -0000 Received: (qmail 6220 invoked by uid 48); 12 Feb 2006 01:31:08 -0000 Date: Sun, 12 Feb 2006 01:31:00 -0000 Message-ID: <20060212013108.6219.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: "hjl at lucon 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-02/txt/msg01137.txt.bz2 List-Id: ------- Comment #12 from hjl at lucon dot org 2006-02-12 01:31 ------- It looks like that unget_char needs to modified to increase the supported number of unget. The current number is 1. We can't do unget_char (dtp, c); unget_char (dtp, c); unget_char (dtp, c); We can have an unget buffer in st_parameter_dt and change last_char to a pointer which indexes to the unget buffer. The unget buffer only needs big enough to hold the longest logical string we want to support. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26136