https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88079
--- Comment #6 from MarkEggleston <mark.eggleston at codethink dot com> --- Where a module is used: module foo implicit none interface subroutine dusty(n) integer :: n end subroutine end interface contains subroutine bar(n) integer, intent(in) :: n real :: x print *,"bar before dusty", n call dusty(n) print *,"bar after dusty", n end subroutine bar end module foo subroutine dusty(n) integer :: n n = n - 1 end program main use foo implicit none integer :: n n = 5 call bar(n) end program main The call to dusty in bar would be with an implicit interface were it not for the interface block. I get the same warnings as in comment 5. I would like to also issue a warning for the interface block but don't I know where I could insert an code to issue a warning anywhere near the interface block. I know where the dummy variable is processed from a lexical point of view but I don't know where the interface block is handled. Some indication of where to look would be greatly appreciated.