I was playing around with LTO and decided to see what would happen when I supply -m32 with objects compiled for -m64.
lto1: internal compiler error: in lto_get_pickled_tree, at lto-streamer-in.c:2423 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I think this can happen with some makefiles not including CFLAGS on the link line and manually setting LDFLAGS to include -flto -O2 (though I doubt it because -m32 is usually a link option too :)). -- Summary: -m32 causes an ICE when the object files were compiled with 64bit Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41565