From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23292 invoked by alias); 27 Nov 2003 09:11:50 -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 23281 invoked from network); 27 Nov 2003 09:11:50 -0000 Received: from unknown (HELO mta02-svc.ntlworld.com) (62.253.162.42) by sources.redhat.com with SMTP; 27 Nov 2003 09:11:50 -0000 Received: from cuddles.cambridge.redhat.com ([81.96.64.123]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031127091149.MRFU15446.mta02-svc.ntlworld.com@cuddles.cambridge.redhat.com> for ; Thu, 27 Nov 2003 09:11:49 +0000 Received: from cuddles.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id hAR9Bd4x014677; Thu, 27 Nov 2003 09:11:39 GMT Received: (from aph@localhost) by cuddles.cambridge.redhat.com (8.12.8/8.12.8/Submit) id hAR9BcsU014673; Thu, 27 Nov 2003 09:11:38 GMT From: Andrew Haley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16325.49098.646932.196135@cuddles.cambridge.redhat.com> Date: Thu, 27 Nov 2003 09:21:00 -0000 To: Zack Weinberg Cc: Chris Lattner , Richard.Earnshaw@arm.com, Jim Wilson , Subject: Re: avoid unnecessary register saves for setjmp In-Reply-To: References: X-SW-Source: 2003-11/txt/msg02142.txt.bz2 Chris Lattner writes: > > Zack Weinberg said: > > 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. True. But the obvious problem with this is that it places a burden on small applications (boot ROMs, say) that might only have a single setjmp/longjmp. These would be forced to include the unwinder and all its baggage just for that. Andrew.