aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-24 13:21:34 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-28 20:22:51 +0100
commit4000d722e609bbbb1e923721b54911bb784eeec3 (patch)
tree7e0fe4d60cee8f1d4e6d89e346c2c23065cdf7c0 /gcc/gimplify.c
parent45a8cd256934be3770f7e000db7b13f10eabee9a (diff)
downloadgcc-4000d722e609bbbb1e923721b54911bb784eeec3.zip
gcc-4000d722e609bbbb1e923721b54911bb784eeec3.tar.gz
gcc-4000d722e609bbbb1e923721b54911bb784eeec3.tar.bz2
libstdc++: Fix tests that use invalid types in ordered containers
Types used in ordered containers need to be comparable, or the container needs to use a custom comparison function. These tests fail when _GLIBCXX_CONCEPT_CHECKS is defined, because the element types aren't comparable. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * testsuite/20_util/is_nothrow_swappable/value.h: Use custom comparison function for priority_queue of type with no relational operators. * testsuite/20_util/is_swappable/value.h: Likewise. * testsuite/24_iterators/output/concept.cc: Add operator< to type used in set.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions