https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87905
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- > > Note in the test package that neither struct is exposed to the other > translation unit. But it's violation of C++ ODR and as LTO compilation unit is entire program, you then introduce violation.