------- Comment #1 from fxcoudert at gcc dot gnu dot org  2005-11-26 19:12 
-------
Well, we issue an error here, but it's an Internal Error ;-)

## gfortran ##
 In file foo.f90:5

 END
   1
 Internal Error at (1):
 build_dt: format with namelist
## g95 ##
In file foo.f90:4

 write(6,FMT=*,NML=NLIST)
      1
Error: NAMELIST tag at (1) is not compatible with other formatting options
## Intel ##
fortcom: Error: foo.f90, line 4: There is a direction conflict for this I/O
operation.   [NML]
 write(6,FMT=*,NML=NLIST)
---------------^
compilation aborted for foo.f90 (code 1)
## Portland ##
PGF90-S-0212-Illegal NAMELIST I/O (foo.f90: 4)
  0 inform,   0 warnings,   1 severes, 0 fatal for MAIN
## Sun ##

 write(6,FMT=*,NML=NLIST)
               ^
"foo.f90", Line = 4, Column = 16: ERROR: Each control item specifier must be
specified only once.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-26 19:12:03
               date|                            |
            Summary|better diagnostic needed    |FORMAT and NML keywords
                   |                            |conflict


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

Reply via email to