This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66967] thread local's destructor not called if compile with -fno-use-cxa-atexit
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Jul 2017 08:35:11 +0000
- Subject: [Bug c++/66967] thread local's destructor not called if compile with -fno-use-cxa-atexit
- Auto-submitted: auto-generated
- References: <bug-66967-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66967
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
Comparing the assembler output with and without -fno-use-cxa-atexit, I
find that the former is missing not just the call to the destructor, but
the destructor code itself.