https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104630
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to Neil Carlson from comment #0) > Consider this minimal example. > > File module.f90: > module modA > private I suspect you already found the work around. Remove the private attribute. > type, public :: typeA > contains > procedure :: foo > end type > interface > module subroutine foo(this) > class(typeA) :: this > end subroutine > end interface > contains > subroutine bar(this) > type(typeA) :: this > end subroutine > end module