Message ID | 20230911163534.1913512-5-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [01/13] libstdc++: Add support for running tests with multiple -std options | expand |
diff --git a/libstdc++-v3/testsuite/24_iterators/reverse_iterator/100639.cc b/libstdc++-v3/testsuite/24_iterators/reverse_iterator/100639.cc index 5d0a7f4af27..68bf4e08488 100644 --- a/libstdc++-v3/testsuite/24_iterators/reverse_iterator/100639.cc +++ b/libstdc++-v3/testsuite/24_iterators/reverse_iterator/100639.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-std=c++2a" } -// { dg-do compile { target c++2a } } +// { dg-do compile { target c++20 } } +// { dg-add-options strict_std } // PR libstdc++/100639 diff --git a/libstdc++-v3/testsuite/std/ranges/iota/93267.cc b/libstdc++-v3/testsuite/std/ranges/iota/93267.cc index 3bb74bbf485..4306aea4d43 100644 --- a/libstdc++-v3/testsuite/std/ranges/iota/93267.cc +++ b/libstdc++-v3/testsuite/std/ranges/iota/93267.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-std=c++2a" } -// { dg-do compile { target c++2a } } +// { dg-do compile { target c++20 } } +// { dg-add-options strict_std } #include <ranges> diff --git a/libstdc++-v3/testsuite/std/ranges/iota/96042.cc b/libstdc++-v3/testsuite/std/ranges/iota/96042.cc index 7070a7d6b10..6c553de9ce9 100644 --- a/libstdc++-v3/testsuite/std/ranges/iota/96042.cc +++ b/libstdc++-v3/testsuite/std/ranges/iota/96042.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-std=c++2a" } -// { dg-do compile { target c++2a } } +// { dg-do compile { target c++20 } } +// { dg-add-options strict_std } #include <ranges> #include <limits> diff --git a/libstdc++-v3/testsuite/std/ranges/iota/size.cc b/libstdc++-v3/testsuite/std/ranges/iota/size.cc index 958cb5f03c8..28848d55561 100644 --- a/libstdc++-v3/testsuite/std/ranges/iota/size.cc +++ b/libstdc++-v3/testsuite/std/ranges/iota/size.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-std=c++2a" } // { dg-do compile { target c++2a } } +// { dg-add-options strict_std } #include <ranges> #include <limits> diff --git a/libstdc++-v3/testsuite/std/ranges/subrange/96042.cc b/libstdc++-v3/testsuite/std/ranges/subrange/96042.cc index bc22f999ed8..3856952eeb3 100644 --- a/libstdc++-v3/testsuite/std/ranges/subrange/96042.cc +++ b/libstdc++-v3/testsuite/std/ranges/subrange/96042.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-std=c++20" } -// { dg-do compile { target c++2a } } +// { dg-do compile { target c++20 } } +// { dg-add-options strict_std } #include <ranges> #include <limits>