This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/47154] New: [4.6 Regression] END= does not work in namelist read
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Jan 2011 21:48:58 +0000
- Subject: [Bug libfortran/47154] New: [4.6 Regression] END= does not work in namelist read
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47154
Summary: [4.6 Regression] END= does not work in namelist read
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: tkoenig@gcc.gnu.org
Original test case by Lawrence Doctors, from
http://gcc.gnu.org/ml/fortran/2011-01/msg00000.html
Reduced test case:
ig25@linux-fd1f:~/Krempel/Lawr/TST> cat tst.f
program foo
real :: a
namelist /b/a
open(10,status="scratch")
read (10,nml=b,end=100)
100 continue
end
ig25@linux-fd1f:~/Krempel/Lawr/TST> gfortran tst.f
ig25@linux-fd1f:~/Krempel/Lawr/TST> ./a.out
At line 5 of file tst.f (unit = 10, file = '/tmp/gfortrantmpeSWNTR')
Fortran runtime error: `8,ï
Works with 4.4.