From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16770 invoked by alias); 8 Nov 2011 09:30:21 -0000 Received: (qmail 16756 invoked by uid 22791); 8 Nov 2011 09:30:20 -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; Tue, 08 Nov 2011 09:30:06 +0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/50999] [4.7 Regression]: g++.dg/lto/20081109 execute -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin Date: Tue, 08 Nov 2011 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: regression X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.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 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-11/txt/msg00746.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50999 --- Comment #5 from rguenther at suse dot de 2011-11-08 09:29:08 UTC --- On Mon, 7 Nov 2011, hp at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50999 > > --- Comment #3 from Hans-Peter Nilsson 2011-11-07 21:24:59 UTC --- > (In reply to comment #2) > > Created attachment 25734 [details] > > proposed patch > > > > Hm, on x86_64 the EH table is not empty (look at g++.dg/lto/20081109_1.C, > > the usual symtom is that the LTOed unit for that file does not contain > > info to unwind from the throw - can you confirm that?). The key is that > > lto_init_eh() has to be called for that unit - previously we saved > > flag_exceptions but now we only save explicit -fexceptions (thus, you > > can verify if explicitly adding that option to the compile command line > > fixes the issue). > > > > Does the attached patch help? It tries to start to address the (yet unsolved) > > issue of preserving lang-dependent options. > > I'll throw this patch to a test session - but I thought you mentioned you have > access to powerpc-linux, wouldn't it be more productive for you to debug there? ;) Trying to optimize my spare cycles ... when I have to resort to a ppc machine I have to setup a new devel environment everytime ... Richard.