[Patch, Fortran] PR56696 - Fix EOF detection for listed-directed real_read

Tobias Burnus burnus@net-b.de
Sat Mar 23 14:01:00 GMT 2013


This patch fixes the 4.8/4.9 regression, reported by Keith Refson.

The patch which caused the regression (PR55818, Rev. 194809) allowed to 
list-direct read "1<EOF>" as real variable. Seemingly, the handling went 
to far to also affect reading a real from "<EOF>".

I am not completely sure whether the patch is correct, but I think it 
is. I tried character, complex and integer, but those are seemingly not 
affected from the regression.

OK for the trunk and the 4.8 branch?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eof-fix.diff
Type: text/x-patch
Size: 1473 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130323/799d917b/attachment.bin>


More information about the Fortran mailing list