The C++ FE insists on giving TYPE_NAMEs to things like anonymous unions. This confuses type compatibility checks in LTO which now needs to workaround this duplicating the ANON_AGGRNAME_FORMAT logic from cp/cp-tree.h
Maybe the C++ FE should free those names in the free_lang_data langhook. What does it need the names for? Mangling? -- Summary: C++ FE gives names to anonymous things Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41534