From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15881 invoked by alias); 27 Nov 2003 08:01:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 15874 invoked from network); 27 Nov 2003 08:01:20 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.73.237.138) by sources.redhat.com with SMTP; 27 Nov 2003 08:01:20 -0000 Received: (qmail 11717 invoked from network); 27 Nov 2003 07:56:47 -0000 Received: from taltos.codesourcery.com (zack@66.92.218.83) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 27 Nov 2003 07:56:47 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Thu, 27 Nov 2003 00:01:18 -0800 From: "Zack Weinberg" To: Richard.Earnshaw@arm.com Cc: Jim Wilson , gcc-patches@gcc.gnu.org Subject: Re: avoid unnecessary register saves for setjmp References: <1069490758.1024.191.camel@leaf.tuliptree.org> <200311221436.hAMEauN16800@pc960.cambridge.arm.com> <20031122162654.GA6032@nevyn.them.org> Date: Thu, 27 Nov 2003 09:11:00 -0000 In-Reply-To: <20031122162654.GA6032@nevyn.them.org> (Daniel Jacobowitz's message of "Sat, 22 Nov 2003 11:26:54 -0500") Message-ID: <87n0aiuto1.fsf@egil.codesourcery.com> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg02139.txt.bz2 I'm going to take this opportunity to throw in a suggestion I've made before, which is that setjmp/longjmp should - always, not just when special variants are used - be converted by the front end into invocations of the exception-unwinding facility, which gives us tons more control. (Obviously this only works with DWARF2 exception handling.) zw