gcc/libstdc++-v3/testsuite/18_support
Jonathan Wakely 39de0e5411 libstdc++: Add effective-target for std::allocator implementation
This allows tests to be skipped if the std::allocator implementation is
not __gnu_cxx::new_allocator.

The 20_util/allocator/overaligned.cc test requires either C++17 or
new_allocator, otherwise we can't guarantee to return overaligned
memory.

libstdc++-v3/ChangeLog:

	* testsuite/18_support/50594.cc: Check effective target.
	* testsuite/20_util/allocator/1.cc: Likewise.
	* testsuite/20_util/allocator/overaligned.cc: Likewise.
	* testsuite/23_containers/unordered_map/96088.cc: Likewise.
	* testsuite/23_containers/unordered_multimap/96088.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/96088.cc: Likewise.
	* testsuite/23_containers/unordered_set/96088.cc: Likewise.
	* testsuite/ext/throw_allocator/check_delete.cc: Likewise.
	* testsuite/ext/throw_allocator/check_new.cc: Likewise.
	* testsuite/lib/libstdc++.exp (check_effective_target_std_allocator_new):
	Define new proc.
2021-11-23 21:23:24 +00:00
..
aligned_alloc
bad_alloc
bad_cast
bad_exception
bad_typeid
byte
comparisons libstdc++: Add [[nodiscard]] to <compare> 2021-08-05 15:16:58 +01:00
coroutines
exception
exception_ptr libstdc++: Deprecate std::unexpected and handler functions 2021-11-04 20:53:29 +00:00
headers libstdc++: Deprecate std::unexpected and handler functions 2021-11-04 20:53:29 +00:00
initializer_list
launder
max_align_t/requirements
nested_exception
numeric_limits libstdc++: Fix std::numeric_limits::lowest() test for strict modes 2021-10-11 20:34:17 +01:00
quick_exit
source_location
type_info libstdc++: Fix std::type_info::before for ARM [PR103240] 2021-11-17 17:21:24 +00:00
uncaught_exception
uncaught_exceptions
50594.cc libstdc++: Add effective-target for std::allocator implementation 2021-11-23 21:23:24 +00:00
51333.cc
96817.cc
cxa_vec.cc
destroying_delete.cc
free_eh_pool.cc
new_aligned.cc
new_delete_placement.cc
new_handler.cc
new_nothrow.cc
pthread_guard.cc
set_terminate.cc
set_unexpected.cc libstdc++: Deprecate std::unexpected and handler functions 2021-11-04 20:53:29 +00:00
terminate_handler.cc
unexpected_handler.cc libstdc++: Deprecate std::unexpected and handler functions 2021-11-04 20:53:29 +00:00