From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31284 invoked by alias); 4 Oct 2009 06:41:02 -0000 Received: (qmail 31232 invoked by uid 48); 4 Oct 2009 06:40:50 -0000 Date: Sun, 04 Oct 2009 06:41:00 -0000 Subject: [Bug lto/41565] New: -m32 causes an ICE when the object files were compiled with 64bit X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00229.txt.bz2 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 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