Dominique d'Humieres <dominiq at lps dot> changed:

           What    |Removed                     |Added
            Summary|-stf=f* and passing         |Confusing diagnostic when
                   |intrinsic function as       |passing intrinsic function
                   |actual argument without     |as actual argument without
                   |INTRINSIC                   |INTRINSIC

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot> ---
Since at least gfortran-4.5.4, compiling the following test with -Wall

      subroutine sub (proc, chr)
      external proc
      integer proc
      character*(*) chr
      if (proc (chr) .ne. 6) call abort ()
      end subroutine sub

      implicit none
      integer i
      i = len ("123")
      call sub (len, "abcdef")


      i = len ("123")
Warning: Type specified for intrinsic function 'len' at (1) is ignored

This warning does not point to the actual problem, is confusing, and IMO should
be an error.

Reply via email to