Not all types of the IL and its trees are fixed up by lto_fixup_decls as can be seen by attached patch.
-- Summary: Not all types are fixed up Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code, memory-hog Severity: normal Priority: P3 Component: lto 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=41606