https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94463
--- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #2) > If both files are combined into one, only the proper symbol is generated. > > Module read/write related? Setting a breakpoint on mangled_identifier and gfc_sym_mangled_identifier, it appears that the name mangling functions do not get called when reading back the module.