[Bug c++/2474] global destructors should run in reverse order of _finishing_ construction
neroden at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 5 21:02:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2474
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-05 21:02 -------
The configury machinery to default --enable-__cxa_atexit to true on certain systems is now present.
I believe that the global destructors simply cannot be run in the correct order for sure without __cxa_atexit (someone can correct me if I'm wrong).
So we should not try to fix it in those circumstances.
We should, however, default it to true on a lot more systems than we currently do, or provide a configure test. :-P
In other words, I disagree with Giovanni's assessment. :-)
More information about the Gcc-bugs
mailing list