Re: [patch, libgfortran] PR55818 Reading a REAL from a file which doesn't end in a new line fails

2013-01-02 Thread Jerry DeLisle
On 01/02/2013 01:00 AM, Tobias Burnus wrote: Jerry DeLisle wrote: This updated patch addresses the issues with infinities, nans, characters, and valid reals. And complex. OK for trunk? Test case attached. Thanks for the patch. It looks okay (with a ChangeLog). ChangeLog created However

Re: [patch, libgfortran] PR55818 Reading a REAL from a file which doesn't end in a new line fails

2013-01-02 Thread Tobias Burnus
Jerry DeLisle wrote: This updated patch addresses the issues with infinities, nans, characters, and valid reals. And complex. OK for trunk? Test case attached. Thanks for the patch. It looks okay (with a ChangeLog). However, I found yet another case which is not handled, namely reals with

Re: [patch, libgfortran] PR55818 Reading a REAL from a file which doesn't end in a new line fails

2013-01-01 Thread Jerry DeLisle
This updated patch addresses the issues with infinities, nans, characters, and valid reals. OK for trunk? Test case attached. Regards, Jerry Index: list_read.c === --- list_read.c (revision 194731) +++ list_read.c (working copy)

Re: [patch, libgfortran] PR55818 Reading a REAL from a file which doesn't end in a new line fails

2012-12-28 Thread Jerry DeLisle
On 12/27/2012 05:51 PM, Jerry DeLisle wrote: Hi, The attached patch fixes this problem by not calling hit_eof if EOF can be a valid separator. Regression tested on x86-64. OK for trunk with test case from PR? Regards, Jerry 2012-12-27 Jerry DeLisle PR libfortran/55818 * io/lis

[patch, libgfortran] PR55818 Reading a REAL from a file which doesn't end in a new line fails

2012-12-27 Thread Jerry DeLisle
Hi, The attached patch fixes this problem by not calling hit_eof if EOF can be a valid separator. Regression tested on x86-64. OK for trunk with test case from PR? Regards, Jerry 2012-12-27 Jerry DeLisle PR libfortran/55818 * io/list_read.c (read_real): Do not call hit_eo