aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-24 14:32:34 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-28 20:22:51 +0100
commit07fbdd7bda1166ab2722dbeb4fd3c6b8558b324b (patch)
treee6a15c35197a8f2a9a3809ac6b91a0e31f9934fd /gcc/gimplify.c
parentb701f46ea6d651aff8dbd267c29213253045e2b6 (diff)
downloadgcc-07fbdd7bda1166ab2722dbeb4fd3c6b8558b324b.zip
gcc-07fbdd7bda1166ab2722dbeb4fd3c6b8558b324b.tar.gz
gcc-07fbdd7bda1166ab2722dbeb4fd3c6b8558b324b.tar.bz2
libstdc++: Skip container adaptor tests that fail concept checks
As an extension, our container adaptors SFINAE away the default constructor if the adapted sequence container is not default constructible. When _GLIBCXX_CONCEPT_CHECKS is defined we enforce that the sequence is default constructible, so the tests for the extension fail. This disables the relevant parts of the tests. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1.cc: Do not check non-default constructible sequences when _GLIBCXX_CONCEPT_CHECKS is defined. * testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1_c++98.cc: Likewise. * testsuite/23_containers/queue/requirements/explicit_instantiation/1.cc: Likewise. * testsuite/23_containers/queue/requirements/explicit_instantiation/1_c++98.cc: Likewise. * testsuite/23_containers/stack/requirements/explicit_instantiation/1.cc: Likewise. * testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++98.cc: Likewise.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions