[patch, libgfortran] [4.9/4.10 Regression] Erroneous "end of file" with internal read
Jerry DeLisle
jvdelisle@charter.net
Fri May 23 22:14:00 GMT 2014
Hello all,
The attached patch fixes this PR by not seeking if the next character is a space.
Regression tested on x86-64. New test case provided.
OK for trunk and back ports?
Regards.
Jerry
2014-05-23 Jerry DeLisle <jvdelisle@gcc.gnu>
PR libgfortran/61173
* io/list_read.c (eat_spaces): If the next character pointed to
is a space, don't seek, must be at the end.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr61173-1.diff
Type: text/x-patch
Size: 1855 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140523/a492bc54/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrayio_14.f90
Type: text/x-fortran
Size: 452 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140523/a492bc54/attachment-0001.bin>
More information about the Fortran
mailing list