39de0e5411
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. |
||
---|---|---|
.. | ||
aligned_alloc | ||
bad_alloc | ||
bad_cast | ||
bad_exception | ||
bad_typeid | ||
byte | ||
comparisons | ||
coroutines | ||
exception | ||
exception_ptr | ||
headers | ||
initializer_list | ||
launder | ||
max_align_t/requirements | ||
nested_exception | ||
numeric_limits | ||
quick_exit | ||
source_location | ||
type_info | ||
uncaught_exception | ||
uncaught_exceptions | ||
50594.cc | ||
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 | ||
terminate_handler.cc | ||
unexpected_handler.cc |