https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82992
--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> --- Adding 'implicit none' after the use statements: subroutine sub (c_int) use iso_c_binding, only: c_int implicit none ! makes no difference end -> still no error message module pr82992 integer :: x end module pr82992 subroutine sub (x) use pr82992, only : x implicit none ! -> Error: Symbol 'x' at (1) has no IMPLICIT type end -> gives wrong/misleading error message pr82992c.f90:4:17: subroutine sub (x) 1 Error: Symbol 'x' at (1) has no IMPLICIT type