Re: [Patch, libfortran] PR 49296 List read of file without EOR

2011-07-12 Thread Jerry DeLisle
On 07/12/2011 01:05 AM, Janne Blomqvist wrote: PING On Mon, Jul 4, 2011 at 00:57, Janne Blomqvist wrote: 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? Y

Re: [Patch, libfortran] PR 49296 List read of file without EOR

2011-07-12 Thread Janne Blomqvist
PING On Mon, Jul 4, 2011 at 00:57, Janne Blomqvist wrote: > 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  Janne Blomqvist   > >        

[Patch, libfortran] PR 49296 List read of file without EOR

2011-07-03 Thread Janne Blomqvist
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 Janne Blomqvist PR libfortran/49296 * io/list_read.c (read_logical): Don't error o

Re: [Patch, libfortran] PR 49296 List read of file without EOR

2011-06-17 Thread jerry DeLisle
On 06/17/2011 12:02 PM, Janne Blomqvist wrote: PING. Also, here's a slightly simplfied testcase: Yes, OK Jerry

Re: [Patch, libfortran] PR 49296 List read of file without EOR

2011-06-17 Thread Janne Blomqvist
PING. Also, here's a slightly simplfied testcase: ! { dg-do run } ! PR 49296 List formatted read of file without EOR marker (\n). program read_list_eof_1 implicit none character(len=100) :: s call genfil () open (unit=20, file='read.dat', form='FORMATTED', action='READ', & status='

[Patch, libfortran] PR 49296 List read of file without EOR

2011-06-11 Thread Janne Blomqvist
Hi, attached patch fixes PR 49296. A new test for the testsuite is also included. Regtested on x86_64-unknown-linux-gnu, Ok for trunk? 2011-06-11 Janne Blomqvist PR libfortran/49296 * io/list_read.c (read_character): Accept EOF as a separator when reading string. --