https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94348
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- Don't understand what you consider the problem. You need to declare bar in the 'module procedure foo'. Isn't the interface-body a scoping unit? Isn't bar a local variable in that scoping unit?