From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26627 invoked by alias); 30 Apr 2004 00:37:01 -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 26620 invoked from network); 30 Apr 2004 00:37:00 -0000 Received: from unknown (HELO smtp1.libero.it) (193.70.192.51) by sources.redhat.com with SMTP; 30 Apr 2004 00:37:00 -0000 Received: from bagio (151.42.79.124) by smtp1.libero.it (7.0.027-DD01) id 4048911500DF1B3D; Fri, 30 Apr 2004 02:36:48 +0200 Message-ID: <06c801c42e4b$2a8b8cb0$174a2597@bagio> From: "Giovanni Bajo" To: "Richard Henderson" , "Stelios Xanthakis" Cc: References: <20040429204602.GA32682@redhat.com> Subject: Re: Using EH from C Date: Fri, 30 Apr 2004 02:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg01423.txt.bz2 Richard Henderson wrote: >> The main challenge is 'calling destructors on unwind >> with no performance cost if no exception is raised'. > > type var __attribute__((cleanup(function))); It looks like this was never applied though: http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00658.html Giovanni Bajo