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

Janne Blomqvist blomqvist.janne@gmail.com
Sat Mar 23 21:48:00 GMT 2013


On Sat, Mar 23, 2013 at 4:00 PM, Tobias Burnus <burnus@net-b.de> wrote:
> 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?

Ok, thanks for the patch, and to Keith as well for reporting and the testcase.

-- 
Janne Blomqvist



More information about the Gcc-patches mailing list