"scratch" file bug in g77/egcs1.1b
Toon Moene
toon@moene.indiv.nluug.nl
Fri Sep 25 05:41:00 GMT 1998
I wrote:
> I can't find anything in the Standard that suggests REWIND N will
> write an `endfile' record to unit N; in fact, that is what the
> ENDFILE N statement is for.
And you replied:
> The ISO/IEC 1539 (AKA "Fortran90 Standard") requires
> writing "endfile record" for REWIND operation in "9.1.3
> Endfile record". (I'm looking a japanese translation -
> JIS X3001. I hope the section number is identical...).
You are absolutely right (I looked at 9.5.3 REWIND statement, which
fails to mention this).
In other words, it's a genuine bug. It also produces the wrong
results on my m68k-next-nextstep3 system, so it is not related to
you using Linux.
We'll look into it.
Regards and thanks for your persistence,
Toon.
More information about the Gcc-bugs
mailing list