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
On Thu, Nov 07, 2002 at 12:57:57PM +1100, Fergus Henderson wrote:
> 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?
Very.
The sections are e.g. stdio, fast paths in threading library, etc.
Jakub