https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |rejects-valid
Last reconfirmed| |2025-06-23
Ever confirmed|0 |1
--- Comment #2 from anlauf at gcc dot gnu.org ---
Confirmed since at least gcc-7.
It is sufficient to have an empty interface in module B_mod to see the error:
interface MyGet
end interface MyGet
We seem to access the wrong name...