This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++ - more tests
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: Richard Henderson <rth at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, Jakub Jelinek <jakub at redhat dot com>, Aldy Hernandez <aldyh at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "jason at redhat dot com" <jason at redhat dot com>
- Date: Thu, 7 Nov 2002 12:57:57 +1100
- Subject: Re: [basic-improvements] try/finally support for c/c++ - more tests
- References: <20021106124304.G10988@devserv.devel.redhat.com> <8450000.1036625540@warlock.codesourcery.com> <20021107000307.GQ22215@redhat.com>
On 06-Nov-2002, Richard Henderson <rth@redhat.com> wrote:
> The main problem is that you simply cannot implement cleanups with
> a few calls to a runtime library.
This is not true. Cleanups *can* be implemented via a runtime library.
It's just that you need to use callbacks, and this makes the code
harder to read and less efficient.
How performance-critical are the sections of glibc which are affected?
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.