[Bug libfortran/47154] New: [4.6 Regression] END= does not work in namelist read

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 2 21:49:00 GMT 2011


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.



More information about the Gcc-bugs mailing list