This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28224] New: gfortran should support namelist (nml) for internal file units
- From: "tobias dot burnus at physik dot fu-berlin dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2006 21:34:01 -0000
- Subject: [Bug fortran/28224] New: gfortran should support namelist (nml) for internal file units
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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