summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons
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/27_io/basic_ostringstream/cons
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/27_io/basic_ostringstream/cons')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc
index a337916441e..e70a39d8bcc 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/1.cc
@@ -19,7 +19,7 @@
// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }
-// { dg-require-effective-target cxx11-abi }
+// { dg-require-effective-target cxx11_abi }
#include <sstream>
#include <string>
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc
index 12e40a79740..b983f1b70ca 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc
@@ -19,7 +19,7 @@
// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }
-// { dg-require-effective-target cxx11-abi }
+// { dg-require-effective-target cxx11_abi }
#include <sstream>
#include <string>