]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Sep 2023 13:10:15 +0000 (14:10 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 20:57:38 +0000 (21:57 +0100)
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.

libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc
libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc

index 60264ebe3ddf27fada5c6137276d6a12869a5c49..a10ba8e517b8318aba0110e2e1724c4fc4a05004 100644 (file)
@@ -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>
 
index 40ea47c1ca462633b9db3d828e1bf8e71d4d9607..91a55883f646a0355f4fd93c062490e24ce0b27b 100644 (file)
@@ -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>