From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30534 invoked by alias); 28 Jun 2014 21:55:02 -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 30122 invoked by uid 55); 28 Jun 2014 21:54:57 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/61635] LTO partitioner does not handle &&label in statics Date: Sat, 28 Jun 2014 21:55: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.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-06/txt/msg02317.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61635 --- Comment #6 from Jan Hubicka --- > Yes it uses -fno-toplevel-reordering to avoid the problems with the initializer > reordering. > > I tried some workarounds for this, but nothing worked so far. Likely would need > a noreorder attribute. Actually I think other chance to make this to fail is when the address/value of the local static is propagated by ipa-prop into some extra function... Perhaps as a workaround in 4.9 we may disable such a propagation. Honza