From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17980 invoked by alias); 18 Jan 2012 18:30:04 -0000 Received: (qmail 17870 invoked by uid 22791); 18 Jan 2012 18:30:02 -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; Wed, 18 Jan 2012 18:29:49 +0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/10901] non-local goto's don't work on darwin Date: Wed, 18 Jan 2012 19:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2012-01/txt/msg02020.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10901 --- Comment #25 from Iain Sandoe 2012-01-18 18:29:12 UTC --- Created attachment 26370 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26370 initial fix this shares some changes with the fix to PR51784 (and that is somewhere to read about the issues that prevent an easier fix). AFAICT, the bugs are still present in the Apple OS tree - at least they are with 4.2.1/5577 - which postdates the comments here. Anyway, this is a starting point - I expect that there is scope to tidy it up. As things stand we need to differentiate the load-picbase from the reload-picbase on PPC because more of the work is done in the md. On x86 it's hidden away in i386.c - which made it easier to fix there.