This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30009] Unformatted reads exceeding storage units gives EOF instead of ERR
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2006 14:17:32 -0000
- Subject: [Bug libfortran/30009] Unformatted reads exceeding storage units gives EOF instead of ERR
- References: <bug-30009-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from burnus at gcc dot gnu dot org 2006-12-03 14:17 -------
> > READ(1,ERR=10) J ! Read beyond EOF
> > ifort: forrtl: severe (24): end-of-file during read
>
> Really?
Yes, really. Note: END /= ERR in the two examples.
> With ifort 8.1, I get
> READ(1,END=10) J
> error value
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30009