aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-09-04 14:10:15 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-09-15 21:57:38 +0100
commitc4bf6e8e8ac9aae63dd8aa9a645a282531549e75 (patch)
tree45954c91e14ed1251c57843ba42d31c80e5b3a11 /libstdc++-v3
parent52841fb7035c0e3a6d4354fc4e61c0bd3fea81ca (diff)
downloadgcc-c4bf6e8e8ac9aae63dd8aa9a645a282531549e75.zip
gcc-c4bf6e8e8ac9aae63dd8aa9a645a282531549e75.tar.gz
gcc-c4bf6e8e8ac9aae63dd8aa9a645a282531549e75.tar.bz2
libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std
These tests can (and should) also be run for later standards, so replace the { dg-options "-std=c++17" } with { dg-add-options strict_std }. * testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc: Replace dg-options -std=c++17 with dg-add-options strict_std. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc: Likewise.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc2
-rw-r--r--libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc
index 60264eb..a10ba8e 100644
--- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc
+++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc
@@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=c++17" }
// { dg-do compile { target c++17 } }
+// { dg-add-options strict_std }
#include <tr1/cmath>
diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc
index 40ea47c..91a5588 100644
--- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc
+++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc
@@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=c++17" }
// { dg-do compile { target c++17 } }
+// { dg-add-options strict_std }
#include <tr1/cmath>