public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1149] libstdc++: Fix effective target for new tests [PR 96088] Date: Tue, 1 Jun 2021 18:10:20 +0000 (GMT) [thread overview] Message-ID: <20210601181020.8AAD03959E45@sourceware.org> (raw) https://gcc.gnu.org/g:833d348aec154f231525ad2bf4c8a51c8d16b213 commit r12-1149-g833d348aec154f231525ad2bf4c8a51c8d16b213 Author: Jonathan Wakely <jwakely@redhat.com> Date: Tue Jun 1 19:05:03 2021 +0100 libstdc++: Fix effective target for new tests [PR 96088] These tests use <string_view> so must not run for anything older than C++17. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * testsuite/23_containers/unordered_map/96088.cc: Change effective target to c++17. * testsuite/23_containers/unordered_set/96088.cc: Likewise. Diff: --- libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc | 2 +- libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc index 062c8316a9e..e552b04f8c8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc @@ -1,4 +1,4 @@ -// { dg-do run { target c++11 } } +// { dg-do run { target c++17 } } // Copyright (C) 2021 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc index 53bb754dab6..efb2f9eb6b1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc @@ -1,4 +1,4 @@ -// { dg-do run { target c++11 } } +// { dg-do run { target c++17 } } // Copyright (C) 2021 Free Software Foundation, Inc. //
reply other threads:[~2021-06-01 18:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210601181020.8AAD03959E45@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).