This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add --enable-__cxa_atexit


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 libstdc++.so.4 | grep atexit

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]