2017-01-04 Pauli Nieminen <suokkos@gmail.com> Jonathan Wakely <jwakely@redhat.com> PR libstdc++/64735 * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define. * config.h.in: Regenerate. * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make exports for exception_ptr, nested_exception, and future conditional. [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add exports for exception_ptr, nested_exception, and future conditional. * configure: Regenerate. * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER. * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE * libsupc++/eh_atomics.h: New file for internal use only. (__eh_atomic_inc, __eh_atomic_dec): New. * libsupc++/eh_ptr.cc (exception_ptr::_M_addref) (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup) (rethrow_exception): Use eh_atomics.h reference counting helpers. * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise. * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise. * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE. * libsupc++/exception_ptr.h: Likewise. * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro. * libsupc++/nested_exception.cc: Remove check for ATOMIC_INT_LOCK_FREE. * libsupc++/nested_exception.h: Likewise. * src/c++11/future.cc: Likewise. * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks. * testsuite/18_support/nested_exception/*: Likewise. * testsuite/30_threads/async/*: Likewise. * testsuite/30_threads/future/*: Likewise. * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise. * testsuite/30_threads/packaged_task/*: Likewise. * testsuite/30_threads/promise/*: Likewise. * testsuite/30_threads/shared_future/*: Likewise. Co-Authored-By: Jonathan Wakely <jwakely@redhat.com> From-SVN: r244051
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
chrono.cc | Loading commit data... | |
codecvt.cc | Loading commit data... | |
compatibility-atomic-c++0x.cc | Loading commit data... | |
compatibility-c++0x.cc | Loading commit data... | |
compatibility-chrono.cc | Loading commit data... | |
compatibility-condvar.cc | Loading commit data... | |
compatibility-thread-c++0x.cc | Loading commit data... | |
condition_variable.cc | Loading commit data... | |
cow-fstream-inst.cc | Loading commit data... | |
cow-locale_init.cc | Loading commit data... | |
cow-shim_facets.cc | Loading commit data... | |
cow-sstream-inst.cc | Loading commit data... | |
cow-stdexcept.cc | Loading commit data... | |
cow-string-inst.cc | Loading commit data... | |
cow-wstring-inst.cc | Loading commit data... | |
ctype.cc | Loading commit data... | |
cxx11-hash_tr1.cc | Loading commit data... | |
cxx11-ios_failure.cc | Loading commit data... | |
cxx11-locale-inst.cc | Loading commit data... | |
cxx11-shim_facets.cc | Loading commit data... | |
cxx11-stdexcept.cc | Loading commit data... | |
cxx11-wlocale-inst.cc | Loading commit data... | |
debug.cc | Loading commit data... | |
ext11-inst.cc | Loading commit data... | |
fstream-inst.cc | Loading commit data... | |
functexcept.cc | Loading commit data... | |
functional.cc | Loading commit data... | |
futex.cc | Loading commit data... | |
future.cc | Loading commit data... | |
hash_c++0x.cc | Loading commit data... | |
hashtable_c++0x.cc | Loading commit data... | |
ios-inst.cc | Loading commit data... | |
ios.cc | Loading commit data... | |
iostream-inst.cc | Loading commit data... | |
istream-inst.cc | Loading commit data... | |
limits.cc | Loading commit data... | |
locale-inst.cc | Loading commit data... | |
mutex.cc | Loading commit data... | |
mutex_pool.h | Loading commit data... | |
ostream-inst.cc | Loading commit data... | |
placeholders.cc | Loading commit data... | |
random.cc | Loading commit data... | |
regex.cc | Loading commit data... | |
shared_ptr.cc | Loading commit data... | |
snprintf_lite.cc | Loading commit data... | |
sstream-inst.cc | Loading commit data... | |
streambuf-inst.cc | Loading commit data... | |
string-inst.cc | Loading commit data... | |
system_error.cc | Loading commit data... | |
thread.cc | Loading commit data... | |
wlocale-inst.cc | Loading commit data... | |
wstring-inst.cc | Loading commit data... |