INTRINSIC dsqrt
INTEGER dsqrt
END

compiles without giving an error.  This is invalid: and intrinsic always has the
type defined by 13.13 in the standard, it may only be reaffirmed but not
overwritten.

-- 
           Summary: INTRINSIC symbols can be given the wrong type
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to