aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-warn-recursion.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-11-22 14:51:16 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-11-23 21:23:24 +0000
commit39de0e541107bc4b0b3b82f613054f59c6821eb5 (patch)
treede02c6fefee5661c4a151905f93819b03c7d8c6e /gcc/gimple-warn-recursion.c
parent16e95050f71e9fa408e9bd8ccd415b0e7adc66e5 (diff)
downloadgcc-39de0e541107bc4b0b3b82f613054f59c6821eb5.zip
gcc-39de0e541107bc4b0b3b82f613054f59c6821eb5.tar.gz
gcc-39de0e541107bc4b0b3b82f613054f59c6821eb5.tar.bz2
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.
Diffstat (limited to 'gcc/gimple-warn-recursion.c')
0 files changed, 0 insertions, 0 deletions