[Bug fortran/25064] namelist I/O statement shouldn't have an I/O list
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 19:35:00 GMT 2005
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-26 19:35 -------
## g95 ##
In file foo.f90:2
write(6,nml=nml) I
1
Error: NAMELIST I/O statement at (1) must not have an I/O list
## Intel ##
fortcom: Warning: foo.f90, line 1: This name has not been given an explicit
type. [I]
NAMELIST /NML/ I
-------------------^
fortcom: Error: foo.f90, line 2: A namelist direction cannot have an I/O list.
write(6,nml=nml) I
------------^
fortcom: Info: foo.f90, line 1: This variable has not been used. [I]
NAMELIST /NML/ I
-------------------^
compilation aborted for foo.f90 (code 1)
## Portland ##
PGF90-S-0212-Illegal NAMELIST I/O (foo.f90: 2)
0 inform, 0 warnings, 1 severes, 0 fatal for MAIN
## Sun ##
write(6,nml=nml) I
^
"foo.f90", Line = 2, Column = 22: ERROR: A namelist group name must not be
present if an I/O list is present.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2005-11-26 19:35:35
date| |
Summary|better diagnostic needed |namelist I/O statement
| |shouldn't have an I/O list
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25064
More information about the Gcc-bugs
mailing list