]> gcc.gnu.org Git - gcc.git/commitdiff
libstdc++: Remove dg-options "-std=gnu++20" from 20_utils tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 13:27:56 +0000 (14:27 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 15 Sep 2023 23:10:45 +0000 (00:10 +0100)
The testsuite will automatically select C++20 for these tests now, and
removing the hardcoded -std option allows them to be tested for C++23
and C++26 as well.

libstdc++-v3/ChangeLog:

* testsuite/20_util/allocator/105975.cc: Remove dg-options
-std=gnu++2a.
* testsuite/20_util/allocator/rebind_c++20.cc: Likewise.
* testsuite/20_util/allocator/requirements/constexpr.cc:
Likewise.
* testsuite/20_util/allocator/requirements/typedefs_c++20.cc:
Likewise.
* testsuite/20_util/allocator_traits/header-2.cc: Likewise.
* testsuite/20_util/allocator_traits/header.cc: Likewise.
* testsuite/20_util/allocator_traits/members/92878_92947.cc:
Likewise.
* testsuite/20_util/any/assign/92878_92947.cc: Likewise.
* testsuite/20_util/any/cons/92878_92947.cc: Likewise.
* testsuite/20_util/assume_aligned/1.cc: Likewise.
* testsuite/20_util/assume_aligned/2_neg.cc: Likewise.
* testsuite/20_util/assume_aligned/3.cc: Likewise.
* testsuite/20_util/assume_aligned/97132.cc: Likewise.
* testsuite/20_util/bind/constexpr.cc: Likewise.
* testsuite/20_util/bitset/operations/96303.cc: Likewise.
* testsuite/20_util/common_reference/100894.cc: Likewise.
* testsuite/20_util/common_reference/requirements/alias_decl.cc:
Likewise.
* testsuite/20_util/common_reference/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/common_reference/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/duration/comparison_operators/three_way.cc:
Likewise.
* testsuite/20_util/exchange/constexpr.cc: Likewise.
* testsuite/20_util/exchange/noexcept.cc: Likewise.
* testsuite/20_util/from_chars/1_c++20_neg.cc: Likewise.
* testsuite/20_util/from_chars/compare.cc: Likewise.
* testsuite/20_util/function_objects/bind_front/1.cc: Likewise.
* testsuite/20_util/function_objects/bind_front/107784.cc:
Likewise.
* testsuite/20_util/function_objects/bind_front/111327.cc:
Likewise.
* testsuite/20_util/function_objects/bind_front/2.cc: Likewise.
* testsuite/20_util/function_objects/bind_front/97101.cc:
Likewise.
* testsuite/20_util/function_objects/bind_front/constexpr.cc:
Likewise.
* testsuite/20_util/function_objects/constexpr_searcher.cc:
Likewise.
* testsuite/20_util/function_objects/identity/1.cc: Likewise.
* testsuite/20_util/function_objects/invoke/constexpr.cc:
Likewise.
* testsuite/20_util/function_objects/mem_fn/constexpr.cc:
Likewise.
* testsuite/20_util/function_objects/not_fn/constexpr.cc:
Likewise.
* testsuite/20_util/integer_comparisons/1.cc: Likewise.
* testsuite/20_util/integer_comparisons/2.cc: Likewise.
* testsuite/20_util/integer_comparisons/equal.cc: Likewise.
* testsuite/20_util/integer_comparisons/equal_neg.cc: Likewise.
* testsuite/20_util/integer_comparisons/greater.cc: Likewise.
* testsuite/20_util/integer_comparisons/greater_equal.cc:
Likewise.
* testsuite/20_util/integer_comparisons/greater_equal_neg.cc:
Likewise.
* testsuite/20_util/integer_comparisons/greater_neg.cc:
Likewise.
* testsuite/20_util/integer_comparisons/in_range.cc: Likewise.
* testsuite/20_util/integer_comparisons/in_range_neg.cc:
Likewise.
* testsuite/20_util/integer_comparisons/less.cc: Likewise.
* testsuite/20_util/integer_comparisons/less_equal.cc: Likewise.
* testsuite/20_util/integer_comparisons/less_equal_neg.cc:
Likewise.
* testsuite/20_util/integer_comparisons/less_neg.cc: Likewise.
* testsuite/20_util/integer_comparisons/not_equal.cc: Likewise.
* testsuite/20_util/integer_comparisons/not_equal_neg.cc:
Likewise.
* testsuite/20_util/is_bounded_array/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_bounded_array/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_bounded_array/value.cc: Likewise.
* testsuite/20_util/is_constant_evaluated/1.cc: Likewise.
* testsuite/20_util/is_constant_evaluated/noexcept.cc: Likewise.
* testsuite/20_util/is_constructible/92878_92947.cc: Likewise.
* testsuite/20_util/is_layout_compatible/is_corresponding_member.cc:
Likewise.
* testsuite/20_util/is_layout_compatible/value.cc: Likewise.
* testsuite/20_util/is_layout_compatible/version.cc: Likewise.
* testsuite/20_util/is_nothrow_constructible/value_c++20.cc:
Likewise.
* testsuite/20_util/is_nothrow_convertible/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_nothrow_convertible/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_nothrow_convertible/value.cc: Likewise.
* testsuite/20_util/is_pod/deprecated-2a.cc: Likewise.
* testsuite/20_util/is_pointer_interconvertible/value.cc:
Likewise.
* testsuite/20_util/is_pointer_interconvertible/version.cc:
Likewise.
* testsuite/20_util/is_pointer_interconvertible/with_class.cc:
Likewise.
* testsuite/20_util/is_unbounded_array/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_unbounded_array/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_unbounded_array/value.cc: Likewise.
* testsuite/20_util/optional/assignment/92878_92947.cc:
Likewise.
* testsuite/20_util/optional/cons/92878_92947.cc: Likewise.
* testsuite/20_util/optional/constexpr/assign.cc: Likewise.
* testsuite/20_util/optional/constexpr/cons/conv.cc: Likewise.
* testsuite/20_util/optional/constexpr/modifiers.cc: Likewise.
* testsuite/20_util/optional/constexpr/swap.cc: Likewise.
* testsuite/20_util/optional/relops/96269.cc: Likewise.
* testsuite/20_util/optional/relops/three_way.cc: Likewise.
* testsuite/20_util/pair/comparison_operators/constexpr_c++20.cc:
Likewise.
* testsuite/20_util/pair/cons/92878_92947.cc: Likewise.
* testsuite/20_util/pair/constexpr_assign.cc: Likewise.
* testsuite/20_util/pair/constexpr_swap.cc: Likewise.
* testsuite/20_util/pair/requirements/structural.cc: Likewise.
* testsuite/20_util/pointer_traits/pointer_to_constexpr.cc:
Likewise.
* testsuite/20_util/polymorphic_allocator/allocate_object.cc:
Likewise.
* testsuite/20_util/polymorphic_allocator/construct_c++2a.cc:
Likewise.
* testsuite/20_util/polymorphic_allocator/lwg3237.cc: Likewise.
* testsuite/20_util/reference_wrapper/constexpr.cc: Likewise.
* testsuite/20_util/reference_wrapper/incomplete.cc: Likewise.
* testsuite/20_util/remove_cvref/requirements/alias_decl.cc:
Likewise.
* testsuite/20_util/remove_cvref/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/remove_cvref/value.cc: Likewise.
* testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc:
Likewise.
* testsuite/20_util/shared_ptr/atomic/atomic_shared_ptr.cc:
Likewise.
* testsuite/20_util/shared_ptr/casts/rval.cc: Likewise.
* testsuite/20_util/shared_ptr/comparison/cmp_c++20.cc:
Likewise.
* testsuite/20_util/shared_ptr/cons/alias-rval.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/92878_92947.cc:
Likewise.
* testsuite/20_util/shared_ptr/creation/array.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/overwrite.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/version.cc: Likewise.
* testsuite/20_util/time_point/4.cc: Likewise.
* testsuite/20_util/time_point/comparison_operators/three_way.cc:
Likewise.
* testsuite/20_util/to_address/1.cc: Likewise.
* testsuite/20_util/to_address/1_neg.cc: Likewise.
* testsuite/20_util/to_address/debug.cc: Likewise.
* testsuite/20_util/to_address/lwg3545.cc: Likewise.
* testsuite/20_util/to_chars/compare.cc: Likewise.
* testsuite/20_util/tuple/comparison_operators/three_way.cc:
Likewise.
* testsuite/20_util/tuple/cons/102270.cc: Likewise.
* testsuite/20_util/tuple/cons/constexpr_allocator_arg_t.cc:
Likewise.
* testsuite/20_util/tuple/constexpr_swap.cc: Likewise.
* testsuite/20_util/type_identity/requirements/alias_decl.cc:
Likewise.
* testsuite/20_util/type_identity/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/type_identity/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/typeindex/comparison_operators_c++20.cc:
Likewise.
* testsuite/20_util/unique_ptr/comparison/compare_c++20.cc:
Likewise.
* testsuite/20_util/unique_ptr/creation/92878_92947.cc:
Likewise.
* testsuite/20_util/unique_ptr/creation/for_overwrite.cc:
Likewise.
* testsuite/20_util/unique_ptr/creation/for_overwrite__neg.cc:
Likewise.
* testsuite/20_util/unique_ptr/io/lwg2948.cc: Likewise.
* testsuite/20_util/unwrap_reference/1.cc: Likewise.
* testsuite/20_util/unwrap_reference/2.cc: Likewise.
* testsuite/20_util/unwrap_reference/3.cc: Likewise.
* testsuite/20_util/uses_allocator/92878_92947.cc: Likewise.
* testsuite/20_util/uses_allocator/lwg3527.cc: Likewise.
* testsuite/20_util/uses_allocator/make_obj.cc: Likewise.
* testsuite/20_util/uses_allocator/uninitialized_construct.cc:
Likewise.
* testsuite/20_util/variant/92878_92947.cc: Likewise.
* testsuite/20_util/variant/95915.cc: Likewise.
* testsuite/20_util/variant/constexpr.cc: Likewise.
* testsuite/20_util/variant/relops/three_way.cc: Likewise.
* testsuite/20_util/variant/visit_neg.cc: Likewise.
* testsuite/20_util/variant/visit_r.cc: Likewise.
* testsuite/20_util/weak_ptr/atomic_weak_ptr.cc: Likewise.

136 files changed:
libstdc++-v3/testsuite/20_util/allocator/105975.cc
libstdc++-v3/testsuite/20_util/allocator/rebind_c++20.cc
libstdc++-v3/testsuite/20_util/allocator/requirements/constexpr.cc
libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs_c++20.cc
libstdc++-v3/testsuite/20_util/allocator_traits/header-2.cc
libstdc++-v3/testsuite/20_util/allocator_traits/header.cc
libstdc++-v3/testsuite/20_util/allocator_traits/members/92878_92947.cc
libstdc++-v3/testsuite/20_util/any/assign/92878_92947.cc
libstdc++-v3/testsuite/20_util/any/cons/92878_92947.cc
libstdc++-v3/testsuite/20_util/assume_aligned/1.cc
libstdc++-v3/testsuite/20_util/assume_aligned/2_neg.cc
libstdc++-v3/testsuite/20_util/assume_aligned/3.cc
libstdc++-v3/testsuite/20_util/assume_aligned/97132.cc
libstdc++-v3/testsuite/20_util/bind/constexpr.cc
libstdc++-v3/testsuite/20_util/bitset/operations/96303.cc
libstdc++-v3/testsuite/20_util/common_reference/100894.cc
libstdc++-v3/testsuite/20_util/common_reference/requirements/alias_decl.cc
libstdc++-v3/testsuite/20_util/common_reference/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/common_reference/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/duration/comparison_operators/three_way.cc
libstdc++-v3/testsuite/20_util/exchange/constexpr.cc
libstdc++-v3/testsuite/20_util/exchange/noexcept.cc
libstdc++-v3/testsuite/20_util/from_chars/1_c++20_neg.cc
libstdc++-v3/testsuite/20_util/from_chars/compare.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/1.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/107784.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/2.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/97101.cc
libstdc++-v3/testsuite/20_util/function_objects/bind_front/constexpr.cc
libstdc++-v3/testsuite/20_util/function_objects/constexpr_searcher.cc
libstdc++-v3/testsuite/20_util/function_objects/identity/1.cc
libstdc++-v3/testsuite/20_util/function_objects/invoke/constexpr.cc
libstdc++-v3/testsuite/20_util/function_objects/mem_fn/constexpr.cc
libstdc++-v3/testsuite/20_util/function_objects/not_fn/constexpr.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/1.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/2.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/equal.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/equal_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/greater.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/greater_equal.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/greater_equal_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/greater_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/in_range.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/in_range_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/less.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/less_equal.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/less_equal_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/less_neg.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/not_equal.cc
libstdc++-v3/testsuite/20_util/integer_comparisons/not_equal_neg.cc
libstdc++-v3/testsuite/20_util/is_bounded_array/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_bounded_array/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_bounded_array/value.cc
libstdc++-v3/testsuite/20_util/is_constant_evaluated/1.cc
libstdc++-v3/testsuite/20_util/is_constant_evaluated/noexcept.cc
libstdc++-v3/testsuite/20_util/is_constructible/92878_92947.cc
libstdc++-v3/testsuite/20_util/is_layout_compatible/is_corresponding_member.cc
libstdc++-v3/testsuite/20_util/is_layout_compatible/value.cc
libstdc++-v3/testsuite/20_util/is_layout_compatible/version.cc
libstdc++-v3/testsuite/20_util/is_nothrow_constructible/value_c++20.cc
libstdc++-v3/testsuite/20_util/is_nothrow_convertible/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_nothrow_convertible/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_nothrow_convertible/value.cc
libstdc++-v3/testsuite/20_util/is_pod/deprecated-2a.cc
libstdc++-v3/testsuite/20_util/is_pointer_interconvertible/value.cc
libstdc++-v3/testsuite/20_util/is_pointer_interconvertible/version.cc
libstdc++-v3/testsuite/20_util/is_pointer_interconvertible/with_class.cc
libstdc++-v3/testsuite/20_util/is_unbounded_array/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_unbounded_array/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_unbounded_array/value.cc
libstdc++-v3/testsuite/20_util/optional/assignment/92878_92947.cc
libstdc++-v3/testsuite/20_util/optional/cons/92878_92947.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/assign.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/cons/conv.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/modifiers.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/swap.cc
libstdc++-v3/testsuite/20_util/optional/relops/96269.cc
libstdc++-v3/testsuite/20_util/optional/relops/three_way.cc
libstdc++-v3/testsuite/20_util/pair/comparison_operators/constexpr_c++20.cc
libstdc++-v3/testsuite/20_util/pair/cons/92878_92947.cc
libstdc++-v3/testsuite/20_util/pair/constexpr_assign.cc
libstdc++-v3/testsuite/20_util/pair/constexpr_swap.cc
libstdc++-v3/testsuite/20_util/pair/requirements/structural.cc
libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to_constexpr.cc
libstdc++-v3/testsuite/20_util/polymorphic_allocator/allocate_object.cc
libstdc++-v3/testsuite/20_util/polymorphic_allocator/construct_c++2a.cc
libstdc++-v3/testsuite/20_util/polymorphic_allocator/lwg3237.cc
libstdc++-v3/testsuite/20_util/reference_wrapper/constexpr.cc
libstdc++-v3/testsuite/20_util/reference_wrapper/incomplete.cc
libstdc++-v3/testsuite/20_util/remove_cvref/requirements/alias_decl.cc
libstdc++-v3/testsuite/20_util/remove_cvref/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/remove_cvref/value.cc
libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc
libstdc++-v3/testsuite/20_util/shared_ptr/atomic/atomic_shared_ptr.cc
libstdc++-v3/testsuite/20_util/shared_ptr/casts/rval.cc
libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp_c++20.cc
libstdc++-v3/testsuite/20_util/shared_ptr/cons/alias-rval.cc
libstdc++-v3/testsuite/20_util/shared_ptr/creation/92878_92947.cc
libstdc++-v3/testsuite/20_util/shared_ptr/creation/array.cc
libstdc++-v3/testsuite/20_util/shared_ptr/creation/overwrite.cc
libstdc++-v3/testsuite/20_util/shared_ptr/creation/version.cc
libstdc++-v3/testsuite/20_util/time_point/4.cc
libstdc++-v3/testsuite/20_util/time_point/comparison_operators/three_way.cc
libstdc++-v3/testsuite/20_util/to_address/1.cc
libstdc++-v3/testsuite/20_util/to_address/1_neg.cc
libstdc++-v3/testsuite/20_util/to_address/debug.cc
libstdc++-v3/testsuite/20_util/to_address/lwg3545.cc
libstdc++-v3/testsuite/20_util/to_chars/compare.cc
libstdc++-v3/testsuite/20_util/tuple/comparison_operators/three_way.cc
libstdc++-v3/testsuite/20_util/tuple/cons/102270.cc
libstdc++-v3/testsuite/20_util/tuple/cons/constexpr_allocator_arg_t.cc
libstdc++-v3/testsuite/20_util/tuple/constexpr_swap.cc
libstdc++-v3/testsuite/20_util/type_identity/requirements/alias_decl.cc
libstdc++-v3/testsuite/20_util/type_identity/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/typeindex/comparison_operators_c++20.cc
libstdc++-v3/testsuite/20_util/unique_ptr/comparison/compare_c++20.cc
libstdc++-v3/testsuite/20_util/unique_ptr/creation/92878_92947.cc
libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc
libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite__neg.cc
libstdc++-v3/testsuite/20_util/unique_ptr/io/lwg2948.cc
libstdc++-v3/testsuite/20_util/unwrap_reference/1.cc
libstdc++-v3/testsuite/20_util/unwrap_reference/2.cc
libstdc++-v3/testsuite/20_util/unwrap_reference/3.cc
libstdc++-v3/testsuite/20_util/uses_allocator/92878_92947.cc
libstdc++-v3/testsuite/20_util/uses_allocator/lwg3527.cc
libstdc++-v3/testsuite/20_util/uses_allocator/make_obj.cc
libstdc++-v3/testsuite/20_util/uses_allocator/uninitialized_construct.cc
libstdc++-v3/testsuite/20_util/variant/92878_92947.cc
libstdc++-v3/testsuite/20_util/variant/95915.cc
libstdc++-v3/testsuite/20_util/variant/constexpr.cc
libstdc++-v3/testsuite/20_util/variant/relops/three_way.cc
libstdc++-v3/testsuite/20_util/variant/visit_neg.cc
libstdc++-v3/testsuite/20_util/variant/visit_r.cc
libstdc++-v3/testsuite/20_util/weak_ptr/atomic_weak_ptr.cc

index 09f27ba86e37896cacc4cd1909614ef74e454101..4866ae6baf9d4a5ed22bf1bd254e3b6795b8f8a0 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index bacd124b6ba19a3183556c8a3a9ea9b0ad2af502..b26fa6fb37b82a053216d08c153e8a3c89722cd2 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
 #include <memory>
index c7a8e2715675b42ec33f3f305fe9437a776e3a9d..2102c57a79a80971387f2e1a3b73519831b63e0e 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index dc191411a8125cdf0e217a1bd7895892b2141faf..f7b1e207f7c0dd0c7e217c0dad560a052ee2abfe 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index 8ba0c9405ed6ac5e2df891c9a39577df7f264fdb..9393d8a885d1024859336a9af4264deff05a263a 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index f500f747e7932b4da3b478410ac022a5df78cd66..4a88abaadb73ee2f59798e9c7c8eb5c78721d2ab 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index 6e3bb5443633d4cd1030a5f2ccd753042dae74b3..794138aea0cfdede2bcb9dc51c5512bf63cd23c5 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
index cf4cffeea2e59feb4a2c9582a98769c6de728005..5a6122ed1d1693d951a10111406be391f188f316 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
index 76d11eca45cfda424ff7aec3f9df77230ad19e80..eebd7ec93477fa822a1f0e4c42e6d5abf0145cd3 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 0272541d73a7b1fe365f7a9fb129558dd3aa0ff0..d13144427bb58d5c296b91e28869b0f6a33fc59d 100644 (file)
@@ -15,8 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a -O2" }
-// { dg-do run { target c++2a } }
+// { dg-options "-O2" }
+// { dg-do run { target c++20 } }
 
 #include <memory>
 #include <cstdint>
index 4cd83711969fd0e7d70180e864476f4301bc38df..82a7bd6e37eaf9ce1271966e84717f3e9aeb3186 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <memory>
 
index 7bd60fb66748481d38f06b3aaaf06b0a7a2072a4..4337dae7d4b5ca89a9b16e1bafe998c27c7da0a4 100644 (file)
@@ -15,8 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a -O2 -g0" }
-// { dg-do compile { target c++2a } }
+// { dg-options "-O2 -g0" }
+// { dg-do compile { target c++20 } }
 // { dg-final { scan-assembler-not "undefined" } }
 
 #include <memory>
index c9285813129ac19dbc8dd7288cafc7c3147fe645..2c8b33b60a76eb4399e5dc17890ec1847ad0c1cd 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <memory>
 
index 483c7abfd4f04cdc7088cc17869ae4f34b7803a6..1a1ecfe2456be85065bfce68f0fa55dc65b3cdd0 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index 13209e73488579f45cfb58e896ec37cca6ab5285..04ec2e7d522b4122fa0423204fe8db5df9c5dd09 100644 (file)
@@ -15,8 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a -pedantic" }
-// { dg-do compile { target c++2a } }
+// { dg-options "-pedantic" }
+// { dg-do compile { target c++20 } }
 
 // { dg-require-effective-target hosted }
 
index 5e144768002648b8c46d7682658b1d2dc418f0ec..d81b960eaf3769ef9c43edfe95b997a91ca577f0 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // PR libstdc++/100894 - common_reference implementation seems to be wrong
 
index caaa942ce71448a601cd7809071f48a0e1bb91d5..83ba7c983c5d53d0ec26fe175706caa72bdd1782 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index e1d93cedd449f3d0d04ea2ec555c312cc47f8a74..4c411c5e8ec6f7f71b72c89e356798683754bfa6 100644 (file)
@@ -17,8 +17,7 @@
 
 // NB: This file is for testing type_traits with NO OTHER INCLUDES.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index 9cb8cfd34977e396870a0923934b4a41bd271099..ac630c39963b1b68625c368e392adca009d644ca 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index 92993a743e5768d0f70bb34e86c064db0d2faed3..0e268ef02b3ed7fbc3db644919ed98272a61b8d0 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 2ec130446813a8eaa78c4c621377b9075989ae3a..2a7d79201b160d3ebddb8580e12c4dd65525b8c6 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index 6363a4d4c06ffb283a4429f58d6564234f752655..7e39a428d82cfd66c7a81cda7ffca3826c555638 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index 5f94a1b121e1b60ddfd5e43ff310a424ee9ff587..04d9ba6e74ae41a78f8b6c6d929be1821bca871c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <charconv>
 
index 31a5c6934e82e4516134c98be69ac11af2cf3370..8e728f200f283d2daec04c59b57cad0170bb37e6 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <charconv>
 #include <testsuite_hooks.h>
index 3aacf06a4f3646025b89289fe87a9c46c959c90e..8a8c11a79c2e53da9b85b4f8e8d1c505a6830cb9 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <functional>
 #include <testsuite_hooks.h>
index f1f8cee45094928b10eb798c34a55c0a950725ef..e8b4526735cd8ef9cdafb83dcdb282951c6e9222 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <functional>
index fcfb9f9c7c0261db55c3d1e54f36c07e84a7c0e3..43b56ca4378d11290e2b2575bb5aa1a399840484 100644 (file)
@@ -1,6 +1,5 @@
 // PR libstdc++/111327 - std::bind_front (and std::not_fn) doesn't always
 // perfectly forward according to value category of the call wrapper object
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <functional>
index 745a62d5925c2b3d7542831cc94aff1e6c510903..0ea892612f66dc1727e9b125861db7d90676a787 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <functional>
 #include <memory>
index 6880a31f3029205c93116c6b2f52ef3cb8672d54..98eab166ce2edb2d72ec21e95582c42952cb696c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index 3d0d983a177c5ea816b727f2dbc63e7d0551345d..ef71b91ea740dad5a24de7ea7b463f5ca83b572c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index dbe13818ab144173fd4a26295df908e54c591f9c..aa1e23b75d79dc681b766030465a09c386b9386a 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index 443c607e1c97f2441c46d505bf85b0545d714e62..f300869904a85c9cfa3d61ed6684d735bf5fe93e 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index b039a6f678ce62b54b9fe5d2deb6f19577e908af..122e2116f1a491423276e1d471851e8cf1f0dc62 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index 005558d76863136c3dd09799b99812469acf0df3..9da0dbd159551f5698a6551cb0ec56f7641d6db5 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index 1ebfd17f0391519c55a7da5fb64982a9f7b1b29a..5ec139a51bb7e9a33fc9b193b82cecff095448f3 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index c000fcbaca5267a0ca2fd1b664f6a61b7f816665..245fec96315e3528c09de6cbcd4e05c9dfde12a9 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do preprocess { target c++2a } }
+// { dg-do preprocess { target c++20 } }
 
 #include <utility>
 
index 856ee5fb17eef19c4217db205f7273f1982cf931..3e2bf573c0b935647f25b565f1966acc302edfe7 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do preprocess { target c++2a } }
+// { dg-do preprocess { target c++20 } }
 
 #include <version>
 
index b78b9f899ce3cf4e2d8067b8cbdd67c5e0a16afd..259c7a708285dea61872cd53ce8d80f46b18f186 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 9de63b676bc5a18c3f18580f17ddd53a6ae6e862..bbecbb4817a2c0109a6a27600e6b218bbe492953 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index e564d8d03f28281e95e9050052dbf8d16e92e864..c764d68b9a93aeadd8c8e03bb3b0fceb058baa15 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 
 #include <utility>
index 5d943a9ab69e49f801f1c4a503278aaf0e433371..0028eea6bf373f33b1a3de3d10cdfc1e3e36a87a 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 1a6bc52e1490c28e0a358274dfc5ec228582e60a..b3e4bece80b1488eb117c64b3bc77cd90696f1d4 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index d709775030775ca037519e501a5a1c5c5de73d90..fb064cf1c834d8b806493c66c240a161ffad0190 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index 78af767bca2c854bff9679635fe0e99cfbd6e7fb..b2c632008afe96bf4bfc83c1f15de9f9493368ef 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 173f9016f4a298f3d1da0185c38e41bdd0284159..da85a56f7603d9e3c00dee028934bfe2fc22b917 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index b8ac73c979cc8052e4022d0d84bef5f85c7789e5..0087e7bd540fbdcede4510724adafdd29c65a785 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 301d8cd84c235d562588376c368f9f3f3b9bc2f5..ee2ea8455fc6d52f6b304cc19754f676927bdb7f 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 3d83f2ee607278ad51643ea582568ed2776216cb..c3d275fb10f33f8f354ef3f3537c3aeb8b2f443c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index 6dcfda4ead77f331b436f4efbe4e40d3054ec467..8e58e4a035bda43546be4a21867ee08e37e1fb8c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index afe2e125071dab4f7320da03837ed6fe921f53a1..0c658d2085d9da60f294e9ed3d931d630b05c383 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <utility>
 #include <limits>
index 9de63b676bc5a18c3f18580f17ddd53a6ae6e862..bbecbb4817a2c0109a6a27600e6b218bbe492953 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 
index f2a70f9a54591e707b2268b841eec0e5ba7c907f..b3a92719bd0bab4d02f6dcbb84843ff7fdb55b5b 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index fe2876124fb1339a2556cd2e1a572856aebec0ab..6d77e3d19efef4c1dc910598ef5d2a669f0174c5 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index 32ed5f18221df4c7b13569df91c395188ec9e156..dd417cf6a2a4eabdee782a06255601e27dbf3f02 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index a8e115f67f2d704adabb4e938dd02c43fd5d5fce..684f7d55bc0d73cdaf08771708dc6fa79dc84213 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <type_traits>
 #include <testsuite_hooks.h>
index 2b9cd85fbf37ccd409aff8382287d553fab156b0..597317303d8e21dbd38c1fdca119620361cec5f2 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2018-2023 Free Software Foundation, Inc.
 //
index 9841d65ab7d093f15063b4e9c8d94f3d6a7c15a5..e45cc58dc847c40689d770a887561db851d7b5ce 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 69b359aa1d57874d58222936ea763e0639a529ff..8969a1d03071c8af8b8e8d37e354b3db27935d29 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 #include <type_traits>
 
index 7686b34fc5a40d8cd23d17daf452269de6533f66..6232f6ac67133b71dbe4bb5f9c3660015075ac7f 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 #include <type_traits>
 
index 3b2a8e1620f1d8c99143ac517f2923ff57028381..be6079d6b5e9c63d132c9ff12b4e459e5871a653 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <version>
index 46fea72cbfe92c54b11e9d92a86b98452d824d55..1137738e543ed845940b18c6eb88d7beeb566ed8 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index f6bb7624f2bff9ffeca4cd7cee346995cffccf0c..9b6594d524b08e86fdd7bc8cf488a85e65b9e6d6 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // NB: This file is for testing type_traits with NO OTHER INCLUDES.
 
index 6b42423c495565dc15f0dbf1071a5c55db0f2102..865ec04f7fe2a0863748e1c30ec98e828439abaa 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // NB: This file is for testing type_traits with NO OTHER INCLUDES.
 
index 45f8f518e221fe10923ebbe536ebcc8cda1ba1ea..eec4f7f1001dc4e745eca68e9d2c094d91fa76bf 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 #include <testsuite_tr1.h>
index 7eb4562f653d44246094d8bfcde40acaf41f679b..cfb943322e6566b67983b94d22b02237f339c61c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index 471571cac584ae1db3b11222f66a699f781f09e6..fb4652d932dbf604ef06099518f9c975ce03bd3a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 #include <type_traits>
 
index 138c4be9f935c98e6719816de5cddd3f4339298e..82882237e9d0986be1e81d688f17d7f7ab14e585 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <version>
index 28de9b416fc3b14ec76874acbfdfa9361f358134..bb20d1ba47d159651196b133d004253ce2ee39db 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 #include <type_traits>
 
index c6584956188480bad4f8a608dcb17c19171f1e9d..0594ba406da8464fb48554c20792ee7611d54f36 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index fe2876124fb1339a2556cd2e1a572856aebec0ab..6d77e3d19efef4c1dc910598ef5d2a669f0174c5 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index 9369fa962a2c08f41deca6c5bffff116b31ba5d5..495e1e9d89e624152e5697bb306ab444aa7e976c 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index a0c650d8a22642636787a856d568fc8e8f219e5f..b673cb377c6472df0fc3a8d8e2a5b59700252376 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 0345a1ae95cf10c97ea85eefdbb001baf55afb28..2aa0fe54371da1abdcf1b8b745b9b1a2c22e6ce1 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index fb82233052d4aaa390ae50810ec0502198f98dff..f9086f70a9a91d38976ca46588920effb0837cbf 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <optional>
index cc638148d25e84d7399bd697abcf1d0741fd53c4..3c1d357b1f3ac3a29b9609c36b114ee4f54ac5c9 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <optional>
index 614607d0216dd97e1bd5ddaeb820acd161af5283..eea0df2cfe25dae22ac33889af4b96435293a80a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <optional>
index 2d18a51106c51ab68659851bd9c53d6a4d96955a..57f5cd20bdb8489c3233247a4d75062838f27e59 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <optional>
index f0a8f2f275bd68e19cb208b86cc19b8c291472b9..ddb4be30fd766d195644e33a628717e7efa454b1 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <optional>
 
index 8ee624d46805700df068dfad7b47f4241a8730cd..6fd7024595c58883de7ea7a379464b8ef6cec098 100644 (file)
@@ -15,7 +15,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <optional>
index 2c6e20a43a245468bf0bbe9feef06cf857bc47e6..12feacad79027b50ef4d890e4b976a01eeb2c1d3 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index c423ac2c3026b0f205395ec9d7e05529ba32c11e..706ce1ab227d673b33477efceb6afef1a58509f4 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 923c019fbc5d076d75ffc9ced582912fed0dca8f..9509180f23a605fac31a228bc756fc78a9b904a2 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 #include <tuple>
index 5ef264e92c04cf99b7a9c8e6d92faea00e45abe8..5f2242ca4a86be514b05d2433bc6240633981228 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <utility>
 #include <tuple>
index d4df20197eef33b696893c07eafd15a9abd17fb2..75ae4f6e3ccb19df1927e78dbb285492aeac6d87 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <utility>
index 197de1277947cbc857937323c60f42d3c7a373f4..f5c90761d5735bfb5db15c475e0d6c067b6f9c45 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <memory>
 
index c395b8cda36bd8d40ca15354a3fd204cd52a41c9..54f1004b4f3db8123d1cd6ef4ab420f687314b73 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory_resource>
 #include <cstring>
index bf8d4687d2e89807de3e153cb18b6b19737f74a2..5b5accc3240f691db22a3a47591f41a5319d3b56 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory_resource>
 #include <utility>
index aa399b5ede76855bb26e65ac219a60a4d88067ca..3239d5af05c713e0a7c44902341028c28bdfe7ff 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory_resource>
 #include <testsuite_hooks.h>
index 271e9e4d6071aca6cacbccacaba0bfd5072f12f7..2d97635a9b4b38cdddc53482e81e511b828d1cfa 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <functional>
 
index d00e2c3b2ea91e9ffae1bd223df0d7cbbc16b25b..4e82d3ea9de1c6fb3bd6a178a3e16bd99e65600c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // P0357R3 reference_wrapper for incomplete types
 
index 4a2613c12190b562ba1a1fa7999da02f5e86fa9c..6b64f29350667acbdad8270304724e624aa28c9c 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2018-2023 Free Software Foundation, Inc.
 //
index 02c40eef3971e3e4b5ad43f1c45eca34aa9134a9..58fb0dd603983111a9fae37ad25dfe879897c81e 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2018-2023 Free Software Foundation, Inc.
 //
index b739fae4d64a685cec2788faba7089d7f5168ebc..341492f6aa6caa7afbfe233b2e71bf8186e3982d 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2018-2023 Free Software Foundation, Inc.
 //
index 2e32a9abe7d22fea68c1f90edaa2fee7a0b35756..88b318fa5d61c89941d7b38c0ddf307bb972f0e1 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // P0591R4 makes uses-allocator construction apply recursively for nested pairs
 
index 54cf2621ea1d26ea3e9d7e1c977834306ea0ef0d..6f790ac6c8ea99bc9b4f1b112da732853454eecb 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target gthreads }
 // { dg-additional-options "-pthread" { target pthread } }
index 9b4ab327c8c9834bec61d0b8f8c0ae9599e8ac69..96e98018c05e2ef7666f6af41b2b3a99452635b2 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
index b5649e0126833a58956df9daf3e6a119a292a68e..6fe6de92e4bb7d3dfaa25e6083cbbe93f2c21150 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 #include <memory>
index a955d066c3a8954d67292e4ccd8be8280eced35c..0cc7bb4575370c2a48469c6f8a1bc4fdcf436269 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
index 920ffbf050f07480a10c1d79cb576c73cac0bd50..b5fd81e5e9128ac446074b03f914fa6d4d8d8c8c 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index 5c11a8b6285b35260572f04aa19886270a8f459b..534036287fce12090e7adfd89404193edbe6301d 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 
 // C++20 20.11.3.7 shared_ptr Creation [util.smartptr.shared.create]
index 923e909805a6347c2f3095b02a6abfeb28b5f479..d78ee698eb1c76f2cd718b7e09d8dcc170218f36 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++20 -fno-lifetime-dse -O0" }
+// { dg-options "-fno-lifetime-dse -O0" }
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
index 4dd1b4964a491fa733f8a971d9a4e1a9871ed082..9c0fc5dda39ed5de1a107ec46ec34e9310d360f1 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do preprocess { target c++20 } }
 // { dg-require-effective-target hosted }
 
index f6c3ec99dfb80d6772702baf3736d1b81dc0f0e9..f4727ae4eecc69a8cdc7db91817391d73de1ca0e 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 2382d7dc279c12ed87cf22bbc7716fe2e85ae24a..182fdcd3cd66e5510136df5a3dd93fce2dcd5c35 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 6ad5630a61bde624fbb23d8a17ef6164c783765e..2e1ec4b3e84787e9caf5b997ff7dd404884a332c 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory>
 #include <testsuite_hooks.h>
index 181f8b6dea346f38c9efed770303e8b34fd9f361..21cd5165ab772c349238ae0eefb556a710daa6a3 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-error "not a function pointer" "" { target *-*-* } 0 }
 
 #include <memory>
index d6eba8b5d10f24e9b8b44b6246214f200f091927..394b9b32df2fa7e48d56fc336e50c03d0a4547fe 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <debug/vector>
 #include <testsuite_hooks.h>
index a80ac29b2c971c1dbecc51b17acdc7940881351d..3a1ee8d1a9ba6b98b3436289727915964ff2202c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <memory>
index 250058c55e50de3abf75d5b5020dff9a50b6fdb8..b2faac0c69d61c225744058846f3859c0a5887b8 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <charconv>
 #include <testsuite_hooks.h>
index 82e38a683bfe48ef64e8a4cecc0aedc7530abe19..e441fe0c69fcd89c45b2f4a313c0c09187fe2e86 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 5500cacab6d6e331bf3c8bad1680bdabea5437e5..6ddb9630a670599c4ebdacfa0506a169648e56fe 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <tuple>
index 2ff431026add2bd6436227c0e0b1ad8eb5147313..8f672c96d029e101928af674bbb570e5f0c95409 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // FIXME [!HOSTED]: avoidable std::allocator usage
 // { dg-require-effective-target hosted }
 //
index 14fdec48f8af9fe53f008563373b9caaee08abcc..1dea311a6e71c53b3a542e26f95b1e9377476c72 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 //
 // Copyright (C) 2019-2023 Free Software Foundation, Inc.
 //
index 4823a32f4a20e060c609f9458b6adf8b59683609..67e7f6a51a7a2ccc66bc57484503be5d3f918ce3 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 //
 #include <type_traits>
 
index 193ecfeb36f07af47fa097726a9b7bb51ace999f..69c3a7ca1e8fe824914a776a881aaf075cc9074a 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 // NB: This file is for testing type_traits with NO OTHER INCLUDES.
 
index c7248a25dfa94f632cb5cb1861f095936b295f4a..6c9ba2247ddb08811324ef943f27a604577136b5 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index b903b72235ea934435048ff90ad6196ad2f50a63..98be53f4c35bd9a9f6f18fd8f0ff2412069e71d5 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target rtti }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index 43eb2d9a9dc2723048ed6743f95135d677094138..e0d95040eb013fda518d9ccb9a4f31cacc84bc8d 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory>
 #include <testsuite_hooks.h>
index aef555512dd3f4d20f622358ac32162b36c0b698..0f656de89671d08ad233be29c05002ef16ceee84 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index 86b9045b3880e5cc5e8cad4fcd90e2919d986261..37ef1b7356a90018dbfa16b821a30ad204a3a5e7 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-options "-std=gnu++20 -fno-lifetime-dse -O0" }
-// { dg-do run { target c++2a } }
+// { dg-options "-fno-lifetime-dse -O0" }
+// { dg-do run { target c++20 } }
 // { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
 // { dg-require-effective-target hosted }
 
index d1144effaf8c018007ae6a5cbe467dfd0e489c7b..7afbc5a78b7ff138a2b49a41fd009b2decf8dd1e 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++20" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index 45c54a03b6a93c4d5a22f834e3085591dcbbc463..7266fd3a19e98b1b567e2b96a94ed7fe67633c71 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <memory>
 #include <sstream>
index 15a9e39f26f6e6e39d5a2be823872e886d470a84..d3a33f842ca01489d33e8ee7b8e277585ae6ea00 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index ab67269af6cd2fa307101bb68a71bf7c871b3684..95e61445e4f29037f048324f2a3b64c48153b33e 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <type_traits>
 
index 9ea43871468de89db524d6f9251ba1b800474132..e2e91fdb34b9f927afd4cae369ec949ae0cf3e7f 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <version>
 
index 9c4d2966a2fb0fd681cb43b4cca1b0487bb71e74..ca3efd7b2974194158c3ee9985eaa03086c38798 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 // { dg-require-effective-target hosted }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index c5a7d513b314cc871a311c588b078c153fa1a864..445e40965b288e32ba6e927d8a0d09a1c037c342 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // { dg-require-effective-target hosted }
 
index 23336a86c4ceb29c880a59cccd84c1e8400e5f14..d1a9fb5c49f051e399f29e90f49fee73a86455e2 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <testsuite_hooks.h>
 #include <testsuite_allocator.h>
index 06e850f49979d2a732847bea23b40d228a72520c..8fbc767dd5e5c3296a88f31c7f14a92ec7776724 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 // TODO [!HOSTED]: avoidable std::allocator usage
 // { dg-require-effective-target hosted }
index 7c3d5bf7957ef992216ab6f16a7d0da9b1703fdd..528c59dbdbc9d9284707b9bbef3acd9f5b787c1d 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
 //
index 84e91583e0f603dd2e698e6fa318f2ea68435ece..471d9a45c74e46702dc29a19b760233e6c10f2b3 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 // Copyright (C) 2020-2023 Free Software Foundation, Inc.
index 7af3d98fe5d5d6284f64f68c5ed8398629c842b4..55fac029aafb301c037e728021ef043ffa5d08cd 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do compile { target c++20 } }
 
 #include <variant>
index dc3f5455fdad3788c09896292f9ae13b155e01ea..91f59ff9075bd1193849b27b286e60635c03de70 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <variant>
 
index d93c3ba10b015b14694d9330edacafc64717895b..6e934314a86a9b51178d92b176b473b6b2e91516 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
 
 #include <variant>
 #include <testsuite_hooks.h>
index 1fb18f25a6eb1359643e20699fefa5ec9e5eeab3..4f551a612d8fbc73627e1762dddcd177f704dc07 100644 (file)
@@ -15,8 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
 
 #include <variant>
 #include <testsuite_hooks.h>
index b38cea768c8ebccd55618be6e1c5bce415b1ff58..f612bc2180dcf5079f67dec1999cff9953e7e635 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target gthreads }
 // { dg-additional-options "-pthread" { target pthread } }
This page took 0.178059 seconds and 5 git commands to generate.