public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1149] libstdc++: Fix effective target for new tests [PR 96088]
@ 2021-06-01 18:10 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-06-01 18:10 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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.
 //


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-01 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 18:10 [gcc r12-1149] libstdc++: Fix effective target for new tests [PR 96088] Jonathan Wakely

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).