From: Jonathan Wakely Date: Mon, 4 Sep 2023 13:10:15 +0000 (+0100) Subject: libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std X-Git-Tag: basepoints/gcc-15~6091 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4bf6e8e8ac9aae63dd8aa9a645a282531549e75;p=thirdparty%2Fgcc.git 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 --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 60264ebe3ddf..a10ba8e517b8 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 // . -// { dg-options "-std=c++17" } // { dg-do compile { target c++17 } } +// { dg-add-options strict_std } #include 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 40ea47c1ca46..91a55883f646 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 // . -// { dg-options "-std=c++17" } // { dg-do compile { target c++17 } } +// { dg-add-options strict_std } #include