[Bug fortran/27318] gfortran should warn if a interface does not match
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 13 17:17:19 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27318
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This is also not caught:
module test
implicit none
interface
subroutine hello(n)
integer :: n
end subroutine hello
end interface
contains
subroutine bar()
call hello(3)
end subroutine bar
end module test
subroutine hello(r)
real :: r
integer :: i
do i = 1, int(r); print *, 'hello'; end do
end subroutine hello
More information about the Gcc-bugs
mailing list