From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10274 invoked by alias); 7 Nov 2002 21:06:18 -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 10263 invoked from network); 7 Nov 2002 21:06:13 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Nov 2002 21:06:13 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gA7KhQw12456; Thu, 7 Nov 2002 15:43:26 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA7L66f26716; Thu, 7 Nov 2002 16:06:06 -0500 Received: from frogsleap.quesejoda.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA7L5t510713; Thu, 7 Nov 2002 16:06:00 -0500 Received: by frogsleap.quesejoda.com (Postfix, from userid 500) id 68F673C270; Thu, 7 Nov 2002 13:08:52 -0800 (PST) Date: Thu, 07 Nov 2002 13:06:00 -0000 From: Aldy Hernandez To: Alexandre Oliva Cc: Fergus Henderson , Jakub Jelinek , Geoff Keating , Richard Henderson , "gcc-patches@gcc.gnu.org" , "jason@redhat.com" Subject: Re: [basic-improvements] try/finally support for c/c++ - more tests Message-ID: <20021107210852.GA9445@redhat.com> References: <20021106124304.G10988@devserv.devel.redhat.com> <8450000.1036625540@warlock.codesourcery.com> <20021107000307.GQ22215@redhat.com> <20021107112921.GA14780@ceres.cs.mu.oz.au> <20021107072246.M10988@devserv.devel.redhat.com> <20021107131331.GA8648@ceres.cs.mu.oz.au> <20021107165519.GC28497@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-SW-Source: 2002-11/txt/msg00501.txt.bz2 > > How are you going to handle catching exceptions, given that we have no > > way to recognize certain types in C (templates, classes, etc)? > > You don't recognize types. You just catch everything. Which sounds > perfectly reasonable from a C standpoint. Which is what try/finally/__except does, and which other C compilers do. I can implement that. I'm just waiting for all the dust to settle, and if this an acceptable construct. > acceptance in the next round of C standardization. Even more so if we > choose to support it exactly like other compilers do. Which is exactly what I did ;-). Aldy