------- Comment #1 from fxcoudert at gcc dot gnu dot org  2005-11-26 19:09 
-------
gfortran doesn't see the conflict here. As a matter of fact, neither Intel nor
Portland do issue an error.

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

write(6,*) SIN(I),DCOS(J)
              1
Error: COMMON block 'sin' at (1) is also an intrinsic function
## Intel ##
## Portland ##
## Sun ##

write(6,*) SIN(I),DCOS(J)
           ^
"foo.f90", Line = 4, Column = 12: ERROR: "SIN" is a common block name and is
also declared as an intrinsic procedure.


-- 

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:09:58
               date|                            |
            Summary|better diagnostic needed    |intrinsic name cannot be a
                   |                            |common block name


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

Reply via email to