If I'm not completely mistaken, Fortran 2003 allows to read namelists from
internal files whereas it was forbidden in Fortran 95.
At least I find in the F95/2005 book (in the f95 section) that it is forbidden,
but I cannot find it in the Fortran 2003 standard.
And also Richard E Maine
(http://www.codecomments.com/archive271-2005-3-438971.html) seems to recall
that this restriction was dropped in Fortran2003.

Currently:
Error: Internal file at (1) is incompatible with namelist

Expected: Allow this. For std=f95 you might want to spit out an error/warning,
though.


-- 
           Summary: gfortran should support namelist (nml) for internal file
                    units
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobias dot burnus at physik dot fu-berlin dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28224

Reply via email to