From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6446 invoked by alias); 16 Jan 2012 13:21:34 -0000 Received: (qmail 6434 invoked by uid 22791); 16 Jan 2012 13:21:33 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jan 2012 13:21:20 +0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM Date: Mon, 16 Jan 2012 13:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-01/txt/msg01769.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51280 --- Comment #5 from Aldy Hernandez 2012-01-16 13:20:56 UTC --- Ok, reproduced as below. -flto was missing from the link line. houston:/build/t2/gcc$ ./xgcc -B./ -c -fgnu-tm -flto -c a.c -o a.ohouston:/build/t2/gcc$ ./xgcc -B./ a.o -flto -L ../x86_64-unknown-linux-gnu/libitm/.libs/ -litm lto1: internal compiler error: in streamer_get_builtin_tree, at tree-streamer-in.c:1077 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: ./xgcc returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status houston:/build/t2/gcc$