This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25340] New: Runtime error: "Read past ENDFILE record"
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2005 16:33:16 -0000
- Subject: [Bug libfortran/25340] New: Runtime error: "Read past ENDFILE record"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PR 25139 is in fact two different bugs, so I open this PR to separate them.
$ cat a.f90
integer :: i = 1
open(11,status="replace",form="unformatted")
read(11,end=1008) i
1008 continue
read(11,end=1011) i
1011 continue
end
$ gfortran a.f90 && ./a.out
At line 5 of file a.f90
Fortran runtime error: Read past ENDFILE record
--
Summary: Runtime error: "Read past ENDFILE record"
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25340