mirror of git://gcc.gnu.org/git/gcc.git
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 |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| Makefile.in | ||
| array_type_info.cc | ||
| atexit_arm.cc | ||
| atexit_thread.cc | ||
| atomic_lockfree_defines.h | ||
| bad_alloc.cc | ||
| bad_array_length.cc | ||
| bad_array_new.cc | ||
| bad_cast.cc | ||
| bad_typeid.cc | ||
| class_type_info.cc | ||
| cxxabi.h | ||
| cxxabi_forced.h | ||
| cxxabi_init_exception.h | ||
| del_op.cc | ||
| del_opa.cc | ||
| del_opant.cc | ||
| del_opnt.cc | ||
| del_ops.cc | ||
| del_opsa.cc | ||
| del_opv.cc | ||
| del_opva.cc | ||
| del_opvant.cc | ||
| del_opvnt.cc | ||
| del_opvs.cc | ||
| del_opvsa.cc | ||
| dyncast.cc | ||
| eh_alloc.cc | ||
| eh_arm.cc | ||
| eh_atomics.h | ||
| eh_aux_runtime.cc | ||
| eh_call.cc | ||
| eh_catch.cc | ||
| eh_exception.cc | ||
| eh_globals.cc | ||
| eh_personality.cc | ||
| eh_ptr.cc | ||
| eh_term_handler.cc | ||
| eh_terminate.cc | ||
| eh_throw.cc | ||
| eh_tm.cc | ||
| eh_type.cc | ||
| eh_unex_handler.cc | ||
| enum_type_info.cc | ||
| exception | ||
| exception.h | ||
| exception_defines.h | ||
| exception_ptr.h | ||
| function_type_info.cc | ||
| fundamental_type_info.cc | ||
| guard.cc | ||
| guard_error.cc | ||
| hash_bytes.cc | ||
| hash_bytes.h | ||
| initializer_list | ||
| nested_exception.cc | ||
| nested_exception.h | ||
| new | ||
| new_handler.cc | ||
| new_op.cc | ||
| new_opa.cc | ||
| new_opant.cc | ||
| new_opnt.cc | ||
| new_opv.cc | ||
| new_opva.cc | ||
| new_opvant.cc | ||
| new_opvnt.cc | ||
| pbase_type_info.cc | ||
| pmem_type_info.cc | ||
| pointer_type_info.cc | ||
| pure.cc | ||
| si_class_type_info.cc | ||
| tinfo.cc | ||
| tinfo.h | ||
| tinfo2.cc | ||
| typeinfo | ||
| unwind-cxx.h | ||
| vec.cc | ||
| vmi_class_type_info.cc | ||
| vterminate.cc | ||
| vtv_stubs.cc | ||