From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21892 invoked by alias); 4 Aug 2011 20:29:48 -0000 Received: (qmail 21829 invoked by uid 22791); 4 Aug 2011 20:29:45 -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; Thu, 04 Aug 2011 20:29:29 +0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/49977] [4.7 Regression] CFI notes are missed for delayed slot X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rth 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 Date: Thu, 04 Aug 2011 20:29: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-08/txt/msg00579.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49977 --- Comment #4 from dave.anglin at bell dot net 2011-08-04 20:28:54 UTC --- On 4-Aug-11, at 3:50 PM, rth at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49977 > > Or is the problem in fact in libgcc somewhere? I.e. you have to > compile libgcc with -fno-delayed-branch in order to fix things? The problem looks to be in libgcc: Program received signal SIGSEGV, Segmentation fault. 0xc000000000091924 in _Unwind_DeleteException (exc=0x800000010000a090) at ../../../gcc/libgcc/../gcc/unwind.inc:271 271 (*exc->exception_cleanup) (_URC_FOREIGN_EXCEPTION_CAUGHT, exc); (gdb) p exc $1 = (struct _Unwind_Exception *) 0x800000010000a090 (gdb) p exc->exception_cleanup $2 = (_Unwind_Exception_Cleanup_Fn) 0x100000001 (gdb) p/x *exc $4 = {exception_class = 0x474e5543432b2b00, exception_cleanup = 0x100000001, private_1 = 0x0, private_2 = 0x800003fffdff0940} Dave -- John David Anglin dave.anglin@bell.net