From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1708 invoked by alias); 28 Feb 2011 08:58:51 -0000 Received: (qmail 1699 invoked by uid 22791); 28 Feb 2011 08:58:50 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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, 28 Feb 2011 08:58:45 +0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program 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: hubicka at ucw dot cz X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 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 Date: Mon, 28 Feb 2011 09:25:00 -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 X-SW-Source: 2011-02/txt/msg03068.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #16 from Jan Hubicka 2011-02-28 08:58:39 UTC --- > > Jakub, what was logic for the current alias merging code? > > Is that my code? That would surprise me, I had to do something primarily with > same body ctors/dtors, enhancing it for thunks was something you've done. I think that bit was inherited from same body code (LTHUNK probably wants to be same body alias anyway). I will investigate it more tonight. Obviously merging it all together is not what happens in linker and we should immidate linker behaviour here. Honza