This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


A polite ping.. :)

On 12/28/2012 10:29 AM, Jerry DeLisle wrote:
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 <jvdelisle@gcc.gnu.org>

     PR libfortran/55818
     * io/list_read.c (read_real): Do not call hit_eof when EOF can be
     treated as a value separator

Attached updated patch addresses the similar problem with complex and character variables (mentioned in subsequent PR comments). Regression tested on x86-64 linux.

OK for trunk with updated ChangeLog and test cases from PR?

Regards,

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]