From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21377 invoked by alias); 12 Jul 2011 08:06:05 -0000 Received: (qmail 21357 invoked by uid 22791); 12 Jul 2011 08:06:03 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pv0-f175.google.com (HELO mail-pv0-f175.google.com) (74.125.83.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jul 2011 08:05:48 +0000 Received: by pvf24 with SMTP id 24so3924326pvf.20 for ; Tue, 12 Jul 2011 01:05:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.68.74 with SMTP id u10mr8353474pbt.101.1310457947202; Tue, 12 Jul 2011 01:05:47 -0700 (PDT) Received: by 10.68.64.8 with HTTP; Tue, 12 Jul 2011 01:05:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jul 2011 09:05:00 -0000 Message-ID: Subject: Re: [Patch, libfortran] PR 49296 List read of file without EOR From: Janne Blomqvist To: Fortran List , GCC Patches Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00874.txt.bz2 PING On Mon, Jul 4, 2011 at 00:57, Janne Blomqvist w= rote: > Hi, > > the attached patch fixes the remaining cases of handling input that > ends in EOF instead of a normal separator for list formatted read of > the primitive types. Ok for trunk and 4.6? > > 2011-07-04 =C2=A0Janne Blomqvist =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0PR libfortran/49296 > =C2=A0 =C2=A0 =C2=A0 =C2=A0* io/list_read.c (read_logical): Don't error o= ut if a valid value > =C2=A0 =C2=A0 =C2=A0 =C2=A0is followed by EOF instead of a normal separat= or. > =C2=A0 =C2=A0 =C2=A0 =C2=A0(read_integer): Likewise. > > testsuite: > > 2011-07-04 =C2=A0Janne Blomqvist =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0PR libfortran/49296 > =C2=A0 =C2=A0 =C2=A0 =C2=A0* gfortran.dg/read_list_eof_1.f90: Add tests f= or integer, real, > =C2=A0 =C2=A0 =C2=A0 =C2=A0and logical reads. > > > -- > Janne Blomqvist > --=20 Janne Blomqvist