This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch/C++]: Use dllonexit for static destructors on mingw32
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dannysmith at clear dot net dot nz
- Date: Tue, 31 Oct 2006 10:54:34 +0100
- Subject: RE: [Patch/C++]: Use dllonexit for static destructors on mingw32
Yay. This will make a big difference in QoI of C++ on mingw32.
You should check out { dg-require-cxa-atexit "" } testcases, and see if
this helps. I know that libstdc++ (and I think others) have this.
testsuite/ext/mt_allocator/deallocate_local_thread-5.cc
testsuite/ext/mt_allocator/deallocate_local_thread-7.cc
testsuite/ext/mt_allocator/deallocate_local-6.cc
testsuite/ext/mt_allocator/deallocate_local-8.cc
-benjamin