gcc/libstdc++-v3/testsuite/18_support
Jakub Jelinek af5b72cf9f libstdc++: Implement C++26 P2927R3 - Inspecting exception_ptr
The following patch attempts to implement the C++26 P2927R3 - Inspecting exception_ptr
paper (but not including P3748R0, I plan to play with it incrementally and
it will really depend on the Constexpr exceptions patch).

The function template is implemented using an out of line private method of
exception_ptr, so that P3748R0 then can use if consteval and provide a
constant evaluation variant of it.

2025-06-26  Jakub Jelinek  <jakub@redhat.com>

	* include/bits/version.def (exception_ptr_cast): Add.
	* include/bits/version.h: Regenerate.
	* libsupc++/exception: Define __glibcxx_want_exception_ptr_cast before
	including bits/version.h.
	* libsupc++/exception_ptr.h (std::exception_ptr_cast): Define.
	(std::__exception_ptr::exception_ptr::_M_exception_ptr_cast): Declare.
	* libsupc++/eh_ptr.cc
	(std::__exception_ptr::exception_ptr::_M_exception_ptr_cast): Define.
	* src/c++23/std.cc.in (std::exception_ptr_cast): Export.
	* config/abi/pre/gnu.ver: Export
	_ZNKSt15__exception_ptr13exception_ptr21_M_exception_ptr_castERKSt9type_info
	at CXXABI_1.3.17.
	* testsuite/util/testsuite_abi.cc (check_version): Allow CXXABI_1.3.17.
	* testsuite/18_support/exception_ptr/exception_ptr_cast.cc: New test.
2025-06-26 16:18:38 +02:00
..
aligned_alloc Update copyright years. 2025-01-02 11:59:57 +01:00
bad_alloc Update copyright years. 2025-01-02 11:59:57 +01:00
bad_cast Update copyright years. 2025-01-02 11:59:57 +01:00
bad_exception Update copyright years. 2025-01-02 11:59:57 +01:00
bad_typeid Update copyright years. 2025-01-02 11:59:57 +01:00
byte Update copyright years. 2025-01-02 11:59:57 +01:00
comparisons c++, libstdc++: Implement C++26 P2830R10 - Constexpr Type Ordering 2025-06-26 16:15:20 +02:00
coroutines Update copyright years. 2025-01-02 11:59:57 +01:00
exception Update copyright years. 2025-01-02 11:59:57 +01:00
exception_ptr libstdc++: Implement C++26 P2927R3 - Inspecting exception_ptr 2025-06-26 16:18:38 +02:00
headers libstdc++: Remove #warning from <ciso646> for C++17 [PR120187] 2025-05-12 12:28:24 +01:00
initializer_list Update copyright years. 2025-01-02 11:59:57 +01:00
launder Update copyright years. 2025-01-02 11:59:57 +01:00
max_align_t/requirements Update copyright years. 2025-01-02 11:59:57 +01:00
nested_exception Update copyright years. 2025-01-02 11:59:57 +01:00
numeric_limits libstdc++: Fix comment typo 2025-03-20 10:36:29 +01:00
quick_exit Update copyright years. 2025-01-02 11:59:57 +01:00
source_location Update copyright years. 2025-01-02 11:59:57 +01:00
type_info libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives 2025-03-27 20:00:34 -04:00
uncaught_exception Update copyright years. 2025-01-02 11:59:57 +01:00
uncaught_exceptions Update copyright years. 2025-01-02 11:59:57 +01:00
50594.cc Update copyright years. 2025-01-02 11:59:57 +01:00
51333.cc Update copyright years. 2025-01-02 11:59:57 +01:00
96817.cc Update copyright years. 2025-01-02 11:59:57 +01:00
105387.cc libstdc++: fix pointer type exception catch (no RTTI) [PR105387] 2022-11-05 14:03:08 +00:00
105387_memptr.cc libstdc++: fix pointer type exception catch (no RTTI) [PR105387] 2022-11-05 14:03:08 +00:00
cxa_vec.cc Update copyright years. 2025-01-02 11:59:57 +01:00
destroying_delete.cc Update copyright years. 2025-01-02 11:59:57 +01:00
free_eh_pool.cc Update copyright years. 2025-01-02 11:59:57 +01:00
new_aligned.cc Update copyright years. 2025-01-02 11:59:57 +01:00
new_aligned_warn.cc libstdc++: Add align_alloc attribute to aligned operator new 2024-10-31 10:24:08 +00:00
new_delete_placement.cc Update copyright years. 2025-01-02 11:59:57 +01:00
new_handler.cc Update copyright years. 2025-01-02 11:59:57 +01:00
new_nothrow.cc Update copyright years. 2025-01-02 11:59:57 +01:00
pthread_guard.cc Update copyright years. 2025-01-02 11:59:57 +01:00
set_terminate.cc Update copyright years. 2025-01-02 11:59:57 +01:00
set_unexpected.cc Update copyright years. 2025-01-02 11:59:57 +01:00
terminate_handler.cc Update copyright years. 2025-01-02 11:59:57 +01:00
unexpected_handler.cc Update copyright years. 2025-01-02 11:59:57 +01:00