https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85357
--- Comment #7 from janus at gcc dot gnu.org --- Further reduced test case for the ICE: module base implicit none contains subroutine summation(i) integer, intent(in) :: i end subroutine end module module extended use base implicit none contains subroutine summation() end subroutine end module