From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18519 invoked by alias); 8 May 2003 22:29:31 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18492 invoked from network); 8 May 2003 22:29:29 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 8 May 2003 22:29:29 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.12.9/8.12.9) with ESMTP id h48MTR3h004892 for ; Thu, 8 May 2003 15:29:27 -0700 (PDT) Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 8 May 2003 15:29:12 -0700 Received: from apple.com (mrs1.apple.com [17.201.24.248]) by scv3.apple.com (8.12.9/8.12.9) with ESMTP id h48MTJRq018891; Thu, 8 May 2003 15:29:24 -0700 (PDT) Date: Thu, 08 May 2003 22:29:00 -0000 Subject: Re: __attribute__((cleanup(function)) versus try/finally Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: Jason Merrill , gcc@gcc.gnu.org To: Richard Henderson From: Mike Stump In-Reply-To: <20030508204622.GB6901@redhat.com> Message-Id: <82B7548E-81A4-11D7-BD07-003065A77310@apple.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00844.txt.bz2 On Thursday, May 8, 2003, at 01:46 PM, Richard Henderson wrote: > On Thu, May 08, 2003 at 11:29:50AM -0700, Mike Stump wrote: >> If table size is a big issue, we can have C default to sjlj EH (lower >> cost in non-EH code), and integrate in handling for sjlj exceptions >> into the dwarf EH system. > > Lets not, please. This is much harder than you realize, and > involves a siginificant performance impact to dwarf-only EH. Ok. I was imagining a scheme that elaborated a failure case (lookup the pc and not find any entries) and just checked the new sp value against sjlh_EH_stack->sp and did the sjlj stack processing if required. Maybe there are other nits that complicate it.