https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104221
Nathaniel Shead <nshead at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Nathaniel Shead <nshead at gcc dot gnu.org> --- Closing as invalid. I don't see any good ways of improving diagnostics here from the compiler's side, hopefully a build system would be able to diagnose multiple TUs providing the same module-name.