------- Comment #1 from fxcoudert at gcc dot gnu dot org  2005-11-26 19:46 
-------
gfortran doesn't catch this error.

## g95 ##
In file foo.f90:8

  NAMELIST/debugging/debug_area
                     1
Error: NAMELIST group 'debugging' at (1) is already use-associated
## Intel ##
fortcom: Error: foo.f90, line 8: The attributes of this name conflict with
those made accessible by a USE statement.   [DEBUGGING]
  NAMELIST/debugging/debug_area
-----------^
compilation aborted for foo.f90 (code 1)
## Portland ##
## Sun ##

  NAMELIST/debugging/debug_area
           ^
"foo.f90", Line = 8, Column = 12: ERROR: "DEBUGGING" has been use associated,
therefore it must not be redeclared as a namelist-group-name.


-- 

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:46:17
               date|                            |
            Summary|better diagnostic needed    |namelist group name already
                   |                            |used


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

Reply via email to