summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/experimental/polymorphic_allocator
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-11-24 11:41:01 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-11-24 13:20:26 +0000
commita04b73e15b7d691e4e668f2584b57f09f598d397 (patch)
tree59b7d5b5e385e0deb26c3ee63aaf32878d30632b /libstdc++-v3/testsuite/experimental/polymorphic_allocator
parent29e1cbdc0c6e7d3de10478ef2b881900545c2a55 (diff)
downloadgcc-a04b73e15b7d691e4e668f2584b57f09f598d397.tar.gz
libstdc++: Replace hyphens in effective target keywords
An effective target like foo-bar-baz will match a target selector of *-*-* and cause problems in the testsuite. Several libstdc++ et keywords are of the form foo-bar, which could still be a problem for *-* selectors. Replace hyphens with underscores in the et keywords "debug-mode", "cxx11-abi", etc. libstdc++-v3/ChangeLog: * testsuite/lib/libstdc++.exp: Rename effective target keywords to avoid dashes in the name. * testsuite/*: Update effective targe keywords.
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/polymorphic_allocator')
-rw-r--r--libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc2
-rw-r--r--libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc
index 06ec0197e11..c021d7db24f 100644
--- a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc
+++ b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++14 } }
-// { dg-require-effective-target cxx11-abi }
+// { dg-require-effective-target cxx11_abi }
#include <experimental/regex>
diff --git a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc
index a73e0b6675d..121741b1ac7 100644
--- a/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc
+++ b/libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++14 } }
-// { dg-require-effective-target cxx11-abi }
+// { dg-require-effective-target cxx11_abi }
#include <experimental/string>