]> gcc.gnu.org Git - gcc.git/commit
Support C++11 thread_local destructors.
authorJason Merrill <jason@redhat.com>
Mon, 8 Oct 2012 14:45:24 +0000 (10:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 8 Oct 2012 14:45:24 +0000 (10:45 -0400)
commit5b031b9b56c63fbf2a24638e6ccb8da45ce936c1
treea4a11fca4a9f7ebc76dd07531401ce88063958e0
parentb1db7f9139c8a0915f81359eefc10c6187d6145c
Support C++11 thread_local destructors.

gcc/cp/
* decl.c (get_thread_atexit_node): New.
(register_dtor_fn): Use it for TLS.
libstdc++-v3/
* libsupc++/cxxabi.h: Declare __cxa_thread_atexit.
* libsupc++/atexit_thread.cc: New.
* libsupc++/Makefile.am (nested_exception.lo): Add it.
* config/abi/pre/gnu.ver: Add __cxa_thread_atexit.

From-SVN: r192210
13 files changed:
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/thread_local3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tls/thread_local4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tls/thread_local5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tls/thread_local6.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/libsupc++/Makefile.am
libstdc++-v3/libsupc++/Makefile.in
libstdc++-v3/libsupc++/atexit_thread.cc [new file with mode: 0644]
libstdc++-v3/libsupc++/cxxabi.h
This page took 0.063211 seconds and 5 git commands to generate.