https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66366
--- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #11) > The error vanishes if the typebound procedure is removed from the type > declaration and the corresponding typebound call. Or renaming the local instance: subroutine frf() type(h5) :: xxx call xxx%c() end subroutine frf