Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: shentino at gmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 44964
--> https://gcc.gnu.org/bugzi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87905
--- Comment #1 from Raymond Jennings ---
just do g++ -flto *.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87905
--- Comment #4 from Raymond Jennings ---
(In reply to Martin Liška from comment #2)
> >
> > 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