From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25478 invoked by alias); 22 Nov 2003 04:05:15 -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 25466 invoked from network); 22 Nov 2003 04:05:13 -0000 Received: from unknown (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by sources.redhat.com with SMTP; 22 Nov 2003 04:05:13 -0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA09013; Fri, 21 Nov 03 23:06:16 EST Date: Sat, 22 Nov 2003 04:13:00 -0000 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <10311220406.AA09013@vlsi1.ultra.nyu.edu> To: geoffk@geoffk.org Subject: Re: avoid unnecessary register saves for setjmp Cc: gcc-patches@gcc.gnu.org X-SW-Source: 2003-11/txt/msg01793.txt.bz2 I've looked at this some time in the past (I don't remember the exact circumstances). I came to the same conclusion as you, except in the case when NON_SAVING_SETJMP is defined, when we do need to save any call-saved registers. Well, you certainly need to save all the caller-saved registers if there are any nonlocal gotos (which you have in the Ada exception case), but, as I understand this change, it still does.