------- Comment #4 from zackw at panix dot com 2007-06-06 00:41 ------- Subject: Re: Duplicate work, missed optimizations for registration of static destructors
It's better, but build_cleanup is still being called twice in the non-__cxa_atexit case, and I can't tell whether there is any extremely-short-lived garbage still in the __cxa_atexit case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17422