From 47df7e197b0a521bb3f04068c1809f5e38e2e883 Mon Sep 17 00:00:00 2001 From: Ville Voutilainen Date: Tue, 20 Nov 2018 12:42:28 +0200 Subject: [PATCH] Housekeeping for the effective targets of optional's tests. * testsuite/20_util/optional/77288.cc: Adjust. * testsuite/20_util/optional/84601.cc: Likewise. * testsuite/20_util/optional/assignment/1.cc: Likewise. * testsuite/20_util/optional/assignment/2.cc: Likewise. * testsuite/20_util/optional/assignment/3.cc: Likewise. * testsuite/20_util/optional/assignment/4.cc: Likewise. * testsuite/20_util/optional/assignment/5.cc: Likewise. * testsuite/20_util/optional/assignment/6.cc: Likewise. * testsuite/20_util/optional/assignment/7.cc: Likewise. * testsuite/20_util/optional/assignment/8.cc: Likewise. * testsuite/20_util/optional/cons/77727.cc: Likewise. * testsuite/20_util/optional/cons/copy.cc: Likewise. * testsuite/20_util/optional/cons/deduction.cc: Likewise. * testsuite/20_util/optional/cons/default.cc: Likewise. * testsuite/20_util/optional/cons/move.cc: Likewise. * testsuite/20_util/optional/cons/trivial.cc: Likewise. * testsuite/20_util/optional/cons/value.cc: Likewise. * testsuite/20_util/optional/cons/value_neg.cc: Likewise. * testsuite/20_util/optional/constexpr/cons/default.cc: Likewise. * testsuite/20_util/optional/constexpr/cons/value.cc: Likewise. * testsuite/20_util/optional/constexpr/in_place.cc: Likewise. * testsuite/20_util/optional/constexpr/nullopt.cc: Likewise. * testsuite/20_util/optional/constexpr/observers/1.cc: Likewise. * testsuite/20_util/optional/constexpr/observers/4.cc: Likewise. * testsuite/20_util/optional/constexpr/observers/5.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/1.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/2.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/3.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/4.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/5.cc: Likewise. * testsuite/20_util/optional/constexpr/relops/6.cc: Likewise. * testsuite/20_util/optional/in_place.cc: Likewise. * testsuite/20_util/optional/make_optional.cc: Likewise. * testsuite/20_util/optional/nullopt.cc: Likewise. * testsuite/20_util/optional/observers/1.cc: Likewise. * testsuite/20_util/optional/observers/2.cc: Likewise. * testsuite/20_util/optional/observers/3.cc: Likewise. * testsuite/20_util/optional/observers/4.cc: Likewise. * testsuite/20_util/optional/observers/5.cc: Likewise. * testsuite/20_util/optional/observers/6.cc: Likewise. * testsuite/20_util/optional/relops/1.cc: Likewise. * testsuite/20_util/optional/relops/2.cc: Likewise. * testsuite/20_util/optional/relops/3.cc: Likewise. * testsuite/20_util/optional/relops/4.cc: Likewise. * testsuite/20_util/optional/relops/5.cc: Likewise. * testsuite/20_util/optional/relops/6.cc: Likewise. * testsuite/20_util/optional/relops/7.cc: Likewise. * testsuite/20_util/optional/requirements.cc: Likewise. * testsuite/20_util/optional/swap/1.cc: Likewise. * testsuite/20_util/optional/swap/2.cc: Likewise. * testsuite/20_util/optional/typedefs.cc: Likewise. From-SVN: r266310 --- libstdc++-v3/ChangeLog | 55 +++++++++++++++++++ .../testsuite/20_util/optional/77288.cc | 2 +- .../testsuite/20_util/optional/84601.cc | 2 +- .../20_util/optional/assignment/1.cc | 2 +- .../20_util/optional/assignment/2.cc | 2 +- .../20_util/optional/assignment/3.cc | 2 +- .../20_util/optional/assignment/4.cc | 2 +- .../20_util/optional/assignment/5.cc | 2 +- .../20_util/optional/assignment/6.cc | 2 +- .../20_util/optional/assignment/7.cc | 2 +- .../20_util/optional/assignment/8.cc | 2 +- .../testsuite/20_util/optional/cons/77727.cc | 2 +- .../testsuite/20_util/optional/cons/copy.cc | 2 +- .../20_util/optional/cons/deduction.cc | 2 +- .../20_util/optional/cons/default.cc | 2 +- .../testsuite/20_util/optional/cons/move.cc | 2 +- .../20_util/optional/cons/trivial.cc | 2 +- .../testsuite/20_util/optional/cons/value.cc | 2 +- .../20_util/optional/cons/value_neg.cc | 2 +- .../optional/constexpr/cons/default.cc | 2 +- .../20_util/optional/constexpr/cons/value.cc | 2 +- .../20_util/optional/constexpr/in_place.cc | 2 +- .../20_util/optional/constexpr/nullopt.cc | 2 +- .../20_util/optional/constexpr/observers/1.cc | 2 +- .../20_util/optional/constexpr/observers/4.cc | 2 +- .../20_util/optional/constexpr/observers/5.cc | 2 +- .../20_util/optional/constexpr/relops/1.cc | 2 +- .../20_util/optional/constexpr/relops/2.cc | 2 +- .../20_util/optional/constexpr/relops/3.cc | 2 +- .../20_util/optional/constexpr/relops/4.cc | 2 +- .../20_util/optional/constexpr/relops/5.cc | 2 +- .../20_util/optional/constexpr/relops/6.cc | 2 +- .../testsuite/20_util/optional/in_place.cc | 2 +- .../20_util/optional/make_optional.cc | 2 +- .../testsuite/20_util/optional/nullopt.cc | 2 +- .../testsuite/20_util/optional/observers/1.cc | 2 +- .../testsuite/20_util/optional/observers/2.cc | 2 +- .../testsuite/20_util/optional/observers/3.cc | 2 +- .../testsuite/20_util/optional/observers/4.cc | 2 +- .../testsuite/20_util/optional/observers/5.cc | 2 +- .../testsuite/20_util/optional/observers/6.cc | 2 +- .../testsuite/20_util/optional/relops/1.cc | 2 +- .../testsuite/20_util/optional/relops/2.cc | 2 +- .../testsuite/20_util/optional/relops/3.cc | 2 +- .../testsuite/20_util/optional/relops/4.cc | 2 +- .../testsuite/20_util/optional/relops/5.cc | 2 +- .../testsuite/20_util/optional/relops/6.cc | 2 +- .../testsuite/20_util/optional/relops/7.cc | 2 +- .../20_util/optional/requirements.cc | 2 +- .../testsuite/20_util/optional/swap/1.cc | 2 +- .../testsuite/20_util/optional/swap/2.cc | 2 +- .../testsuite/20_util/optional/typedefs.cc | 2 +- 52 files changed, 106 insertions(+), 51 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bfc9319fdd3..abdf4d971fb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,58 @@ +2018-11-20 Ville Voutilainen + + Housekeeping for the effective targets of optional's tests. + * testsuite/20_util/optional/77288.cc: Adjust. + * testsuite/20_util/optional/84601.cc: Likewise. + * testsuite/20_util/optional/assignment/1.cc: Likewise. + * testsuite/20_util/optional/assignment/2.cc: Likewise. + * testsuite/20_util/optional/assignment/3.cc: Likewise. + * testsuite/20_util/optional/assignment/4.cc: Likewise. + * testsuite/20_util/optional/assignment/5.cc: Likewise. + * testsuite/20_util/optional/assignment/6.cc: Likewise. + * testsuite/20_util/optional/assignment/7.cc: Likewise. + * testsuite/20_util/optional/assignment/8.cc: Likewise. + * testsuite/20_util/optional/cons/77727.cc: Likewise. + * testsuite/20_util/optional/cons/copy.cc: Likewise. + * testsuite/20_util/optional/cons/deduction.cc: Likewise. + * testsuite/20_util/optional/cons/default.cc: Likewise. + * testsuite/20_util/optional/cons/move.cc: Likewise. + * testsuite/20_util/optional/cons/trivial.cc: Likewise. + * testsuite/20_util/optional/cons/value.cc: Likewise. + * testsuite/20_util/optional/cons/value_neg.cc: Likewise. + * testsuite/20_util/optional/constexpr/cons/default.cc: Likewise. + * testsuite/20_util/optional/constexpr/cons/value.cc: Likewise. + * testsuite/20_util/optional/constexpr/in_place.cc: Likewise. + * testsuite/20_util/optional/constexpr/nullopt.cc: Likewise. + * testsuite/20_util/optional/constexpr/observers/1.cc: Likewise. + * testsuite/20_util/optional/constexpr/observers/4.cc: Likewise. + * testsuite/20_util/optional/constexpr/observers/5.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/1.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/2.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/3.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/4.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/5.cc: Likewise. + * testsuite/20_util/optional/constexpr/relops/6.cc: Likewise. + * testsuite/20_util/optional/in_place.cc: Likewise. + * testsuite/20_util/optional/make_optional.cc: Likewise. + * testsuite/20_util/optional/nullopt.cc: Likewise. + * testsuite/20_util/optional/observers/1.cc: Likewise. + * testsuite/20_util/optional/observers/2.cc: Likewise. + * testsuite/20_util/optional/observers/3.cc: Likewise. + * testsuite/20_util/optional/observers/4.cc: Likewise. + * testsuite/20_util/optional/observers/5.cc: Likewise. + * testsuite/20_util/optional/observers/6.cc: Likewise. + * testsuite/20_util/optional/relops/1.cc: Likewise. + * testsuite/20_util/optional/relops/2.cc: Likewise. + * testsuite/20_util/optional/relops/3.cc: Likewise. + * testsuite/20_util/optional/relops/4.cc: Likewise. + * testsuite/20_util/optional/relops/5.cc: Likewise. + * testsuite/20_util/optional/relops/6.cc: Likewise. + * testsuite/20_util/optional/relops/7.cc: Likewise. + * testsuite/20_util/optional/requirements.cc: Likewise. + * testsuite/20_util/optional/swap/1.cc: Likewise. + * testsuite/20_util/optional/swap/2.cc: Likewise. + * testsuite/20_util/optional/typedefs.cc: Likewise. + 2018-11-19 François Dumont * include/ext/throw_allocator.h diff --git a/libstdc++-v3/testsuite/20_util/optional/77288.cc b/libstdc++-v3/testsuite/20_util/optional/77288.cc index 6f3f7f402b9..cd3dc0e7d1b 100644 --- a/libstdc++-v3/testsuite/20_util/optional/77288.cc +++ b/libstdc++-v3/testsuite/20_util/optional/77288.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2016-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/84601.cc b/libstdc++-v3/testsuite/20_util/optional/84601.cc index e86d39e277d..b8a1706d271 100644 --- a/libstdc++-v3/testsuite/20_util/optional/84601.cc +++ b/libstdc++-v3/testsuite/20_util/optional/84601.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/1.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/1.cc index f9aaae35760..ec0832b1ab5 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/2.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/2.cc index c3832e923dc..772f7bf691d 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/2.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/3.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/3.cc index 885a9f99606..34fa7a29f3c 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/3.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/3.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/4.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/4.cc index f498156ac41..bf455e41d8f 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/4.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/4.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/5.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/5.cc index faea0ebee77..b200ee04425 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/5.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/5.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/6.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/6.cc index 5de6e5998a9..48813f69f35 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/6.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/6.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/7.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/7.cc index 0ed357bf7a8..1c4bd488d86 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/7.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/7.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2016-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/assignment/8.cc b/libstdc++-v3/testsuite/20_util/optional/assignment/8.cc index 7241b924889..6fa116451d4 100644 --- a/libstdc++-v3/testsuite/20_util/optional/assignment/8.cc +++ b/libstdc++-v3/testsuite/20_util/optional/assignment/8.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/77727.cc b/libstdc++-v3/testsuite/20_util/optional/cons/77727.cc index aca2e2df973..8d39ae79ae6 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/77727.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/77727.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2016-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/copy.cc b/libstdc++-v3/testsuite/20_util/optional/cons/copy.cc index 25cc53f1a7b..ba7e48a9bb7 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/copy.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/copy.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/deduction.cc b/libstdc++-v3/testsuite/20_util/optional/cons/deduction.cc index 8b8b70778eb..cc56701e95d 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/deduction.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/deduction.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/default.cc b/libstdc++-v3/testsuite/20_util/optional/cons/default.cc index 2e28daf2ff1..7a73832d79c 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/default.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/default.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/move.cc b/libstdc++-v3/testsuite/20_util/optional/cons/move.cc index 250b715f2e6..f68a94853a1 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/move.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/move.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/trivial.cc b/libstdc++-v3/testsuite/20_util/optional/cons/trivial.cc index 84a8e101547..7528be83dde 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/trivial.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/trivial.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/value.cc b/libstdc++-v3/testsuite/20_util/optional/cons/value.cc index 34dbb93bcf5..bdc9e7ed069 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/value.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/value.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc b/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc index 020cb26453f..133a8b0f199 100644 --- a/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc +++ b/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/default.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/default.cc index f991efcbadd..eeef0fdd870 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/default.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/default.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/value.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/value.cc index f5da9004f45..baba7ff1eda 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/value.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/cons/value.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/in_place.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/in_place.cc index 0759d6606e9..a8ca1d01bed 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/in_place.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/in_place.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/nullopt.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/nullopt.cc index 69842c12d67..6f29b3dd818 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/nullopt.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/nullopt.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/1.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/1.cc index 5dd8af6da6e..c1b824cb76b 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/4.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/4.cc index 7743221adf7..3c83a3dbf58 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/4.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/4.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/5.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/5.cc index 7cf5ecd136c..07595d0928a 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/5.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/observers/5.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/1.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/1.cc index 4d2cf82311c..93655dfa1f8 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/2.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/2.cc index 849ddd9e0d1..a4e3567dc21 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/2.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/3.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/3.cc index 40a71b7e166..b40137feaaf 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/3.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/3.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/4.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/4.cc index 2a39c790fbb..ad60ea2bc50 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/4.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/4.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/5.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/5.cc index 35615539ba6..a896d9b35b9 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/5.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/5.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/6.cc b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/6.cc index f716b5fc135..d22bbe77179 100644 --- a/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/6.cc +++ b/libstdc++-v3/testsuite/20_util/optional/constexpr/relops/6.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/in_place.cc b/libstdc++-v3/testsuite/20_util/optional/in_place.cc index d1e91d2b4af..d8b0e2f7bb2 100644 --- a/libstdc++-v3/testsuite/20_util/optional/in_place.cc +++ b/libstdc++-v3/testsuite/20_util/optional/in_place.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/make_optional.cc b/libstdc++-v3/testsuite/20_util/optional/make_optional.cc index 75541c9decf..ce5bf561899 100644 --- a/libstdc++-v3/testsuite/20_util/optional/make_optional.cc +++ b/libstdc++-v3/testsuite/20_util/optional/make_optional.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/nullopt.cc b/libstdc++-v3/testsuite/20_util/optional/nullopt.cc index 3440bf5017d..8cc82403c33 100644 --- a/libstdc++-v3/testsuite/20_util/optional/nullopt.cc +++ b/libstdc++-v3/testsuite/20_util/optional/nullopt.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/1.cc b/libstdc++-v3/testsuite/20_util/optional/observers/1.cc index bc84f276e0a..17ec0fd7c63 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/2.cc b/libstdc++-v3/testsuite/20_util/optional/observers/2.cc index 4af183e8ee6..4089b06bdfe 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/2.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/3.cc b/libstdc++-v3/testsuite/20_util/optional/observers/3.cc index 6f71fb8081b..d4dd187ab0c 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/3.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/3.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/4.cc b/libstdc++-v3/testsuite/20_util/optional/observers/4.cc index ac8515f4cff..e36e5f135dd 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/4.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/4.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/5.cc b/libstdc++-v3/testsuite/20_util/optional/observers/5.cc index bcf6c388f10..7e526e3c7d1 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/5.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/5.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/observers/6.cc b/libstdc++-v3/testsuite/20_util/optional/observers/6.cc index d84007b7a47..af7c6922a8d 100644 --- a/libstdc++-v3/testsuite/20_util/optional/observers/6.cc +++ b/libstdc++-v3/testsuite/20_util/optional/observers/6.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2016-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/1.cc b/libstdc++-v3/testsuite/20_util/optional/relops/1.cc index 78d53dc1e6f..7a74405132d 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/2.cc b/libstdc++-v3/testsuite/20_util/optional/relops/2.cc index 4c8e95851e2..fce9046418e 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/2.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/3.cc b/libstdc++-v3/testsuite/20_util/optional/relops/3.cc index 5b7f5a17977..c2032c39fc9 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/3.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/3.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/4.cc b/libstdc++-v3/testsuite/20_util/optional/relops/4.cc index 69ab2735f0c..686c6f571fb 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/4.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/4.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/5.cc b/libstdc++-v3/testsuite/20_util/optional/relops/5.cc index 3510d188967..838cefec052 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/5.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/5.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/6.cc b/libstdc++-v3/testsuite/20_util/optional/relops/6.cc index 1d6ecae07e5..f7f94b05267 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/6.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/6.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/relops/7.cc b/libstdc++-v3/testsuite/20_util/optional/relops/7.cc index 05f9c72a82e..3048152fdee 100644 --- a/libstdc++-v3/testsuite/20_util/optional/relops/7.cc +++ b/libstdc++-v3/testsuite/20_util/optional/relops/7.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2017-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/requirements.cc b/libstdc++-v3/testsuite/20_util/optional/requirements.cc index 14c97eea47d..f15ab0db28d 100644 --- a/libstdc++-v3/testsuite/20_util/optional/requirements.cc +++ b/libstdc++-v3/testsuite/20_util/optional/requirements.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/swap/1.cc b/libstdc++-v3/testsuite/20_util/optional/swap/1.cc index 3fc2db8d614..c0662f9f58e 100644 --- a/libstdc++-v3/testsuite/20_util/optional/swap/1.cc +++ b/libstdc++-v3/testsuite/20_util/optional/swap/1.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do run } +// { dg-do run { target c++17 } } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/swap/2.cc b/libstdc++-v3/testsuite/20_util/optional/swap/2.cc index f2e285ee908..d74561f9eb4 100644 --- a/libstdc++-v3/testsuite/20_util/optional/swap/2.cc +++ b/libstdc++-v3/testsuite/20_util/optional/swap/2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2016-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/optional/typedefs.cc b/libstdc++-v3/testsuite/20_util/optional/typedefs.cc index 501160b4efb..34d5b939140 100644 --- a/libstdc++-v3/testsuite/20_util/optional/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/optional/typedefs.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } // Copyright (C) 2014-2018 Free Software Foundation, Inc. // -- 2.30.2