https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99036
--- Comment #6 from kargl at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #5) > Another try with a case that is probably/hopefully related. > The following example with a module and submodule in different files > is valid for e.g. -std=f2008, but invalid for -std=f2003 or -std=f95 : > Patch posted in comment #1 allows this case to compile.