From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22310 invoked by alias); 17 Nov 2011 20:24:06 -0000 Received: (qmail 22300 invoked by uid 22791); 17 Nov 2011 20:24:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Nov 2011 20:23:50 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 694BDCB0374; Thu, 17 Nov 2011 21:23:51 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DaNg6BFnImZN; Thu, 17 Nov 2011 21:23:41 +0100 (CET) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 81707CB036C; Thu, 17 Nov 2011 21:23:41 +0100 (CET) From: Eric Botcazou To: Iain Sandoe Subject: Re: [Patch Darwin/Ada] work around PR target/50678 Date: Thu, 17 Nov 2011 20:38:00 -0000 User-Agent: KMail/1.9.9 Cc: GCC Patches References: <0E1D60C2-58AE-48A6-B501-2BE801383525@sandoe-acoustics.co.uk> <201111120844.51841.ebotcazou@adacore.com> <5BA8F0A2-E604-400F-94C1-608B83847505@sandoe-acoustics.co.uk> In-Reply-To: <5BA8F0A2-E604-400F-94C1-608B83847505@sandoe-acoustics.co.uk> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201111172122.33534.ebotcazou@adacore.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg01852.txt.bz2 > the following is reg-strapping on x86-64-darwin10, Thanks a lot! > OK for trunk (and 4.6) if it succeeds (with a ChangeLog, of course) ? Yes, modulo: > +static void > +__gnat_error_handler (int sig, siginfo_t *si, void *ucontext > ATTRIBUTE_UNUSED) Remove ATTRIBUTE_UNUSED and... > +#if defined (__x86_64__) > + /* Work around #10302855/pr50678 on x86-64 Darwin. */ > + __gnat_adjust_context_for_raise (sig, ucontext); > +#endif ...remove everything except for the call to _gnat_adjust_context_for_raise. -- Eric Botcazou