public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4048] libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std
@ 2023-09-15 23:03 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-09-15 23:03 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:c4bf6e8e8ac9aae63dd8aa9a645a282531549e75
commit r14-4048-gc4bf6e8e8ac9aae63dd8aa9a645a282531549e75
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Sep 4 14:10:15 2023 +0100
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.
Diff:
---
.../special_functions/07_conf_hyperg/compile_cxx17.cc | 2 +-
.../5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc | 2 +-
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 60264ebe3dd..a10ba8e517b 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 40ea47c1ca4..91a55883f64 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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-15 23:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 23:03 [gcc r14-4048] libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std 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).