> uname -a
Linux loanamd25 2.6.16.46-0.10-smp #1 SMP Mon May 7 13:37:05 UTC 2007 x86_64
x86_64 x86_64 GNU/Linux

> gfortran --version
GNU Fortran (GCC) 4.5.0 20090730 (experimental)

> cat type.f90
subroutine sub(n,x)
intrinsic abs
integer n, x(abs(n))
end

> gfortran -Wall -c type.f90
type.f90:2.13:

intrinsic abs
             1
Warning: Type specified for intrinsic function 'abs' at (1) is ignored
type.f90:1.18:

subroutine sub(n,x)
                  1
Warning: Unused dummy argument 'x' at (1)


-- 
           Summary: Spurious "Type specified for intrinsic
                    function...ignored" message
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mathewc at nag dot co dot uk


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

Reply via email to