PATCH: Add --enable-__cxa_atexit

Jakub Jelinek
Tue Jun 4 11:19:00 GMT 2002

On Tue, Jun 04, 2002 at 10:11:53AM -0700, H . J . Lu wrote:
> > If people find that this is too expensive, they can still use
> > -fno-use-cxa-atexit for their application, trading speed for
> > correctness. By default, I think the implementation should favour
> > correctness over performance (trying to speed-up the correct
> > implementation if that turns out too slow).
> You can even build libstdc++ with -fno-use-cxa-atexit if you believe
> it won't affect its correctness. Maybe it should be added by default.

It is actually not that hard to prove it.
Just run nm -uD | grep atexit


More information about the Gcc-patches mailing list