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
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
>
>
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
On 06/17/2011 12:02 PM, Janne Blomqvist wrote:
PING.
Also, here's a slightly simplfied testcase:
Yes, OK
Jerry
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='
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.
--