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 gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Jul 2017 22:16:44 +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
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-03
CC| |jason at gcc dot gnu.org,
| |nathan at gcc dot gnu.org,
| |ro at gcc dot gnu.org
Ever confirmed|0 |1
Severity|normal |major
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing the same in g++ 7.1.0, either on Solaris 11 where
-fno-use-cxa-atexit
is the default since libc lacks __cxa_atexit, or on Solaris 12 (which has it)
or Linux/x86_64
with -fno-use-cxa-atexit.