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: unassig...@gcc.gnu.org ReportedBy: tkoe...@gcc.gnu.org Original test case by Lawrence Doctors, from http://gcc.gnu.org/ml/fortran/2011-01/msg00000.html Reduced test case: i...@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 i...@linux-fd1f:~/Krempel/Lawr/TST> gfortran tst.f i...@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.