Static Analysis Problem Type Reference

Argument type mismatch at call to intrinsic function

The type of an actual argument does not match the corresponding formal parameter at a subroutine call.

In this case, the actual argument is an intrinsic function whose interface does not match that of the formal parameter.

ID

Code Location

Description

1

Call site

The place where the function was called

Example

          
subroutine icallyou(f)
interface
integer function f(j)
real :: j
end function f
end interface
print *,f(3.14)
end

program test
intrinsic sin
call icallyou(sin)
end