From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1128 invoked by alias); 22 Nov 2013 11:03:34 -0000 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 Received: (qmail 1064 invoked by uid 48); 22 Nov 2013 11:03:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/58733] [4.9 Regression] ICE in operator[], at vec.h:827 Date: Fri, 22 Nov 2013 11:03: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-Version: 4.9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg02289.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58733 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto Priority|P3 |P1 CC| |hjl.tools at gmail dot com --- Comment #4 from Richard Biener --- Seems like -fuse-ld=gold doesn't work with -flto, so not yet confirmed. ./xgcc -B. t.c t2.c -flto -fuse-ld=gold /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: -f may not be used without -shared collect2: error: ld returned 1 exit status it invokes collect.ld for me when doing make check-g++ RUNTESTFLAGS="--target_board=unix/-fuse-ld=gold lto.exp=20090302_0.C" with an installed compiler -fuse-ld=gold works. It would be nice if running the testsuite with an alternate linker would work - HJ, can you try investigating this?