]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove redundant -std=gnu++17 option from remaining tests
authorJonathan Wakely <jwakely@redhat.com>
Mon, 10 May 2021 15:22:54 +0000 (16:22 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 10 May 2021 15:22:54 +0000 (16:22 +0100)
GCC defaults to -std=gnu++17 now anyway, and using it explicitly in the
dg-options directive prevents running these tests with different modes
such as -std=c++17 or -std=gnu++20.

libstdc++-v3/ChangeLog:

* testsuite/17_intro/headers/c++2017/all_attributes.cc: Remove
-std=gnu++17 from dg-options directive.
* testsuite/17_intro/headers/c++2017/all_no_exceptions.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/all_pedantic_errors.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/operator_names.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/parallel_mode.cc: Likewise.
* testsuite/17_intro/headers/c++2017/stdc++.cc: Likewise.
* testsuite/17_intro/headers/c++2017/stdc++_multiple_inclusion.cc:
Likewise.
* testsuite/18_support/aligned_alloc/aligned_alloc.cc: Likewise.
* testsuite/18_support/byte/81076.cc: Likewise.
* testsuite/18_support/byte/global_neg.cc: Likewise.
* testsuite/18_support/byte/ops.cc: Likewise.
* testsuite/18_support/byte/requirements.cc: Likewise.
* testsuite/18_support/headers/cfloat/values_c++17.cc: Likewise.
* testsuite/18_support/launder/1.cc: Likewise.
* testsuite/18_support/launder/nodiscard.cc: Likewise.
* testsuite/18_support/launder/requirements.cc: Likewise.
* testsuite/18_support/launder/requirements_neg.cc: Likewise.
* testsuite/18_support/new_aligned.cc: Likewise.
* testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
Likewise.
* testsuite/19_diagnostics/error_code/is_error_code_v.cc:
Likewise.
* testsuite/19_diagnostics/error_condition/hash.cc: Likewise.
* testsuite/20_util/addressof/requirements/constexpr.cc:
Likewise.
* testsuite/20_util/as_const/1.cc: Likewise.
* testsuite/20_util/as_const/rvalue_neg.cc: Likewise.
* testsuite/20_util/bind/83427.cc: Likewise.
* testsuite/20_util/bind/is_placeholder_v.cc: Likewise.
* testsuite/20_util/bool_constant/requirements.cc: Likewise.
* testsuite/20_util/duration/arithmetic/constexpr_c++17.cc:
Likewise.
* testsuite/20_util/duration/requirements/treat_as_floating_point_v.cc:
Likewise.
* testsuite/20_util/duration_cast/rounding.cc: Likewise.
* testsuite/20_util/enable_shared_from_this/members/weak_from_this.cc:
Likewise.
* testsuite/20_util/from_chars/1_neg.cc: Likewise.
* testsuite/20_util/from_chars/requirements.cc: Likewise.
* testsuite/20_util/function/91456.cc: Likewise.
* testsuite/20_util/function/cons/deduction.cc: Likewise.
* testsuite/20_util/function_objects/83607.cc: Likewise.
* testsuite/20_util/function_objects/invoke/59768.cc: Likewise.
* testsuite/20_util/function_objects/mem_fn/80478.cc: Likewise.
* testsuite/20_util/function_objects/not_fn/1.cc: Likewise.
* testsuite/20_util/function_objects/not_fn/87538.cc: Likewise.
* testsuite/20_util/has_unique_object_representations/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/has_unique_object_representations/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/has_unique_object_representations/value.cc:
Likewise.
* testsuite/20_util/hash/nullptr.cc: Likewise.
* testsuite/20_util/in_place/requirements.cc: Likewise.
* testsuite/20_util/is_aggregate/incomplete_neg.cc: Likewise.
* testsuite/20_util/is_aggregate/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_aggregate/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_aggregate/value.cc: Likewise.
* testsuite/20_util/is_invocable/83395.cc: Likewise.
* testsuite/20_util/is_invocable/91456.cc: Likewise.
* testsuite/20_util/is_invocable/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_invocable/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_invocable/value.cc: Likewise.
* testsuite/20_util/is_literal_type/deprecated-1z.cc: Likewise.
* testsuite/20_util/is_nothrow_constructible/94003.cc: Likewise.
* testsuite/20_util/is_nothrow_invocable/83395.cc: Likewise.
* testsuite/20_util/is_nothrow_invocable/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_nothrow_invocable/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_nothrow_invocable/value.cc: Likewise.
* testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_nothrow_swappable/value.cc: Likewise.
* testsuite/20_util/is_nothrow_swappable_with/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_nothrow_swappable_with/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_nothrow_swappable_with/value.cc:
Likewise.
* testsuite/20_util/is_swappable/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_swappable/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_swappable/value.cc: Likewise.
* testsuite/20_util/is_swappable_with/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_swappable_with/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_swappable_with/value.cc: Likewise.
* testsuite/20_util/logical_traits/83134.cc: Likewise.
* testsuite/20_util/logical_traits/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/logical_traits/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/logical_traits/value.cc: Likewise.
* testsuite/20_util/pair/cons/deduction.cc: Likewise.
* testsuite/20_util/pair/swap_cxx17.cc: Likewise.
* testsuite/20_util/ratio/requirements/ratio_equal_v.cc:
Likewise.
* testsuite/20_util/reference_wrapper/83427.cc: Likewise.
* testsuite/20_util/reference_wrapper/deduction.cc: Likewise.
* testsuite/20_util/shared_ptr/casts/reinterpret.cc: Likewise.
* testsuite/20_util/shared_ptr/cons/deduction.cc: Likewise.
* testsuite/20_util/shared_ptr/requirements/weak_type.cc:
Likewise.
* testsuite/20_util/time_point/arithmetic/constexpr.cc:
Likewise.
* testsuite/20_util/time_point_cast/rounding.cc: Likewise.
* testsuite/20_util/to_chars/3.cc: Likewise.
* testsuite/20_util/to_chars/chars_format.cc: Likewise.
* testsuite/20_util/to_chars/lwg3266.cc: Likewise.
* testsuite/20_util/to_chars/requirements.cc: Likewise.
* testsuite/20_util/tuple/78939.cc: Likewise.
* testsuite/20_util/tuple/apply/1.cc: Likewise.
* testsuite/20_util/tuple/apply/2.cc: Likewise.
* testsuite/20_util/tuple/cons/deduction.cc: Likewise.
* testsuite/20_util/tuple/make_from_tuple/1.cc: Likewise.
* testsuite/20_util/tuple/make_from_tuple/2.cc: Likewise.
* testsuite/20_util/tuple/swap_cxx17.cc: Likewise.
* testsuite/20_util/tuple/tuple_size_v.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/deduction_neg.cc: Likewise.
* testsuite/20_util/uses_allocator/requirements/uses_allocator_v.cc:
Likewise.
* testsuite/20_util/variable_templates_for_traits.cc: Likewise.
* testsuite/20_util/void_t/1.cc: Likewise.
* testsuite/20_util/weak_ptr/cons/deduction.cc: Likewise.
* testsuite/24_iterators/container_access.cc: Likewise.
* testsuite/24_iterators/headers/iterator/range_access_c++17.cc:
Likewise.
* testsuite/24_iterators/headers/iterator/synopsis_c++17.cc:
Likewise.
* testsuite/24_iterators/range_access/range_access_cpp17.cc:
Likewise.
* testsuite/24_iterators/range_access/range_access_cpp17_neg.cc:
Likewise.
* testsuite/26_numerics/gcd/gcd_neg.cc: Likewise.
* testsuite/26_numerics/headers/cmath/functions_std_c++17.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/hypot.cc: Likewise.
* testsuite/26_numerics/headers/cmath/special_functions_global.cc:
Likewise.
* testsuite/26_numerics/lcm/1.cc: Likewise.
* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
* testsuite/26_numerics/valarray/deduction.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc:
Likewise.
* testsuite/27_io/manipulators/standard/char/quoted_sv.cc:
Likewise.
* testsuite/27_io/manipulators/standard/wchar_t/quoted_sv.cc:
Likewise.
* testsuite/27_io/types/4.cc: Likewise.
* testsuite/28_regex/basic_regex/ctors/deduction.cc: Likewise.
* testsuite/libstdc++-prettyprinters/91997.cc: Likewise.
* testsuite/libstdc++-prettyprinters/cxx17.cc: Likewise.

122 files changed:
libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/all_no_exceptions.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/all_pedantic_errors.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/operator_names.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/parallel_mode.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/stdc++.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/stdc++_multiple_inclusion.cc
libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc
libstdc++-v3/testsuite/18_support/byte/81076.cc
libstdc++-v3/testsuite/18_support/byte/global_neg.cc
libstdc++-v3/testsuite/18_support/byte/ops.cc
libstdc++-v3/testsuite/18_support/byte/requirements.cc
libstdc++-v3/testsuite/18_support/headers/cfloat/values_c++17.cc
libstdc++-v3/testsuite/18_support/launder/1.cc
libstdc++-v3/testsuite/18_support/launder/nodiscard.cc
libstdc++-v3/testsuite/18_support/launder/requirements.cc
libstdc++-v3/testsuite/18_support/launder/requirements_neg.cc
libstdc++-v3/testsuite/18_support/new_aligned.cc
libstdc++-v3/testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/is_error_code_v.cc
libstdc++-v3/testsuite/19_diagnostics/error_condition/hash.cc
libstdc++-v3/testsuite/20_util/addressof/requirements/constexpr.cc
libstdc++-v3/testsuite/20_util/as_const/1.cc
libstdc++-v3/testsuite/20_util/as_const/rvalue_neg.cc
libstdc++-v3/testsuite/20_util/bind/83427.cc
libstdc++-v3/testsuite/20_util/bind/is_placeholder_v.cc
libstdc++-v3/testsuite/20_util/bool_constant/requirements.cc
libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr_c++17.cc
libstdc++-v3/testsuite/20_util/duration/requirements/treat_as_floating_point_v.cc
libstdc++-v3/testsuite/20_util/duration_cast/rounding.cc
libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/weak_from_this.cc
libstdc++-v3/testsuite/20_util/from_chars/1_neg.cc
libstdc++-v3/testsuite/20_util/from_chars/requirements.cc
libstdc++-v3/testsuite/20_util/function/91456.cc
libstdc++-v3/testsuite/20_util/function/cons/deduction.cc
libstdc++-v3/testsuite/20_util/function_objects/83607.cc
libstdc++-v3/testsuite/20_util/function_objects/invoke/59768.cc
libstdc++-v3/testsuite/20_util/function_objects/mem_fn/80478.cc
libstdc++-v3/testsuite/20_util/function_objects/not_fn/1.cc
libstdc++-v3/testsuite/20_util/function_objects/not_fn/87538.cc
libstdc++-v3/testsuite/20_util/has_unique_object_representations/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/has_unique_object_representations/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/has_unique_object_representations/value.cc
libstdc++-v3/testsuite/20_util/hash/nullptr.cc
libstdc++-v3/testsuite/20_util/in_place/requirements.cc
libstdc++-v3/testsuite/20_util/is_aggregate/incomplete_neg.cc
libstdc++-v3/testsuite/20_util/is_aggregate/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_aggregate/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_aggregate/value.cc
libstdc++-v3/testsuite/20_util/is_invocable/83395.cc
libstdc++-v3/testsuite/20_util/is_invocable/91456.cc
libstdc++-v3/testsuite/20_util/is_invocable/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_invocable/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_invocable/value.cc
libstdc++-v3/testsuite/20_util/is_literal_type/deprecated-1z.cc
libstdc++-v3/testsuite/20_util/is_nothrow_constructible/94003.cc
libstdc++-v3/testsuite/20_util/is_nothrow_invocable/83395.cc
libstdc++-v3/testsuite/20_util/is_nothrow_invocable/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_nothrow_invocable/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_nothrow_invocable/value.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable/value.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable_with/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable_with/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_nothrow_swappable_with/value.cc
libstdc++-v3/testsuite/20_util/is_swappable/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_swappable/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_swappable/value.cc
libstdc++-v3/testsuite/20_util/is_swappable_with/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_swappable_with/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/is_swappable_with/value.cc
libstdc++-v3/testsuite/20_util/logical_traits/83134.cc
libstdc++-v3/testsuite/20_util/logical_traits/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/logical_traits/requirements/typedefs.cc
libstdc++-v3/testsuite/20_util/logical_traits/value.cc
libstdc++-v3/testsuite/20_util/pair/cons/deduction.cc
libstdc++-v3/testsuite/20_util/pair/swap_cxx17.cc
libstdc++-v3/testsuite/20_util/ratio/requirements/ratio_equal_v.cc
libstdc++-v3/testsuite/20_util/reference_wrapper/83427.cc
libstdc++-v3/testsuite/20_util/reference_wrapper/deduction.cc
libstdc++-v3/testsuite/20_util/shared_ptr/casts/reinterpret.cc
libstdc++-v3/testsuite/20_util/shared_ptr/cons/deduction.cc
libstdc++-v3/testsuite/20_util/shared_ptr/requirements/weak_type.cc
libstdc++-v3/testsuite/20_util/time_point/arithmetic/constexpr.cc
libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc
libstdc++-v3/testsuite/20_util/to_chars/3.cc
libstdc++-v3/testsuite/20_util/to_chars/chars_format.cc
libstdc++-v3/testsuite/20_util/to_chars/lwg3266.cc
libstdc++-v3/testsuite/20_util/to_chars/requirements.cc
libstdc++-v3/testsuite/20_util/tuple/78939.cc
libstdc++-v3/testsuite/20_util/tuple/apply/1.cc
libstdc++-v3/testsuite/20_util/tuple/apply/2.cc
libstdc++-v3/testsuite/20_util/tuple/cons/deduction.cc
libstdc++-v3/testsuite/20_util/tuple/make_from_tuple/1.cc
libstdc++-v3/testsuite/20_util/tuple/make_from_tuple/2.cc
libstdc++-v3/testsuite/20_util/tuple/swap_cxx17.cc
libstdc++-v3/testsuite/20_util/tuple/tuple_size_v.cc
libstdc++-v3/testsuite/20_util/unique_ptr/cons/deduction_neg.cc
libstdc++-v3/testsuite/20_util/uses_allocator/requirements/uses_allocator_v.cc
libstdc++-v3/testsuite/20_util/variable_templates_for_traits.cc
libstdc++-v3/testsuite/20_util/void_t/1.cc
libstdc++-v3/testsuite/20_util/weak_ptr/cons/deduction.cc
libstdc++-v3/testsuite/24_iterators/container_access.cc
libstdc++-v3/testsuite/24_iterators/headers/iterator/range_access_c++17.cc
libstdc++-v3/testsuite/24_iterators/headers/iterator/synopsis_c++17.cc
libstdc++-v3/testsuite/24_iterators/range_access/range_access_cpp17.cc
libstdc++-v3/testsuite/24_iterators/range_access/range_access_cpp17_neg.cc
libstdc++-v3/testsuite/26_numerics/gcd/gcd_neg.cc
libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc
libstdc++-v3/testsuite/26_numerics/headers/cmath/hypot.cc
libstdc++-v3/testsuite/26_numerics/headers/cmath/special_functions_global.cc
libstdc++-v3/testsuite/26_numerics/lcm/1.cc
libstdc++-v3/testsuite/26_numerics/lcm/lcm_neg.cc
libstdc++-v3/testsuite/26_numerics/valarray/deduction.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc
libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted_sv.cc
libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted_sv.cc
libstdc++-v3/testsuite/27_io/types/4.cc
libstdc++-v3/testsuite/28_regex/basic_regex/ctors/deduction.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/91997.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc

index b23bbb91bc8c0b9933ad4584ff7138e6153dd5b8..c4e38d6423a1aa1b5b730a3d3ced14eafea8fb6e 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++17" }
 // { dg-do compile { target c++17 } }
 
 // Ensure the library only uses the __name__ form for attributes.
index d5b7ba9f0bfa7dbb3a4ce735ad6cd092e5d9d821..2d13a9153a25ccd84d8a49e3adae6dafbc0db320 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++17 -fno-exceptions" }
+// { dg-options "-fno-exceptions" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 87e718ef7a4ce1f18770c7f9db63160720eabdfe..dec97d4709733ef85f2b44070b16aa78ac0cec9d 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++17 -pedantic-errors" }
+// { dg-options "-pedantic-errors" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 155c97233f32a6bb1b1555b4a08cea612fab5cea..63b2918af75a990c43c69bd9cd238c05494761c3 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++17 -fno-operator-names" }
+// { dg-options "-fno-operator-names" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index cabd552181bd8376c9b2c1b77c4386e2c122426f..a82fe4fe965a0a170ec9c3e0d88e9bfb1b6c9fde 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++17" }
 // { dg-do compile { target c++17 } }
 // { dg-require-normal-mode "" }
 
index 90f85412ff897a1cfec8b1e9172cbb4cc7f7df84..3a63e513769f16c74168e54dc82b348e40cd68ca 100644 (file)
@@ -1,5 +1,4 @@
 // FreeBSD wants warning clean system headers:
-// { dg-options "-std=gnu++17" }
 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
 // { dg-do compile { target c++17 } }
 
index 9e199f564ee7eb9ba460b2c560d90904782b36cc..97c73ee959d1e21102664f03a7d4ac1fd8c29fde 100644 (file)
@@ -1,5 +1,4 @@
 // FreeBSD wants warning clean system headers:
-// { dg-options "-std=gnu++17" }
 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
 // { dg-do compile { target c++17 } }
 
index 76223cd255958c601f24040475e0b0a18aa08005..1ba58ff4d4c0fb8ac472d08130a9c1bd44361f81 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++17" }
 // { dg-do run { target c++17 } }
 // { dg-require-cstdint "" }
 
index 6c17e4bd3c40271db958dbe73ebdb51b718e432a..7917dcb0cbdaf92bb285b75d2e6e3b8ec9821807 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <cstddef>
index c4d45d4bca1a5bf406acbef36055d80ceef718c0..fb1176f84964ffab8a2f86749aeca09331befc40 100644 (file)
@@ -15,7 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++17" }
+// Use -O0 just do disable PCH, otherwise std::byte is declared.
+// { dg-options "-O0" }
 // { dg-do compile { target c++17 } }
 
 #include <stddef.h>
index 36f66f4c24eb719a5e408e7efb720160172428cf..a8fcf08cfc0e48e9486f69f94b312b1cdef79dd4 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <cstddef>
index 50a0f2132efe07f133d57a1f36f8482e7f93adc2..516ac2c303c920800a3a19944e96290ccb7c7eba 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <cstddef>
index f6a99c75d5df31bed7881e7dda646c29b11d4979..e49a3a631782f0d74b81ef78d2afbaf7528275ea 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2019-2021 Free Software Foundation, Inc.
index f6722d09d8795591080affad12c475972a473a61..2301631068f4369eb4344ef4f1a3179db15b6a43 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <new>
index 01c89690368fdb2eac3a05f17b1fe495f9d9e9b7..20bd195b2594e2e57eaf73b334f1340b48fc261b 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <new>
index 039bfc39e68f3aec2948ce5cd9346902ea431267..8a17491f09f29cd8ef75eee14949d8bea1f02988 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++17" }
 // { dg-do compile { target c++17 } }
 
 // NB: This file is for testing new with NO OTHER INCLUDES.
index 62424c9a49b90d442cad06470e0feb136567a590..f486f06323878933168c1fc808cbe6ad3968ee21 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <new>
index b20bb8855b491c2581bb76993f90e10882ba7d38..b3943a47c23f6b53d0c5f0df6d792484971f1b76 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <new>
index 0c80c1d3c43b7945a6d5a1fe5133a3360f300ee4..83200add683fef1dc7cfc49961de38aea2752d58 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <cassert>
index a0166908ff21502e7cb7ab5bb1edb6db506adbf8..1a46c876a570b12048ecc295ae6b4667d797fc88 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2021 Free Software Foundation, Inc.
index 497aed8ce565137fbf319b55d4a938016043d035..87d43e0d09aa299c1cd5e68f94f57888ba49ffe7 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <system_error>
index 95fd08e6234c5789bb1a6c38cfe0d5435c519361..fb13de9e72d78f0bea7e630c708513c18bf02ed7 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <utility>
index 0c68aa180d1f815e8d8171b9c0e371a6dbcbe777..46e6b3c7594e353f821d50206e239e09465cf7f3 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <utility>
index 4e6bdcb9d0dcafdd520de6c14d57c6bd385ebd47..29fd6bbefa89539b95efd3118f585c7461142f11 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <utility>
index fc8147dcbee20dccd73a041526e92d7239b072d3..7a865464e263ba166792ebb3fb68b378f3efe728 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index fc0a2c401bd3f451d9e57cb10e7c3a7460976732..aefd23d97fbdaf8b0d1706f537d5eaac319ff1de 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 417a718f3161445b0d6175dc2eb9aa1a93c0ffa6..09a23b0645c1820bbe74ad1c5f9953691d332930 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index bea79725500194a28dfbe54386fc7cd37525107f..52d2a07bbbc5338577924b95b615f1463aa74a9a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2011-2021 Free Software Foundation, Inc.
index 698ec5fc08bc9259c0778960d4d2eff68df525ec..4b08351e447d36c778462420e568384e826196b5 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2021 Free Software Foundation, Inc.
index a1ed0dae66d7da188f3f94e8bc4804f05dab5834..3f8cb6cf790185c6cdb4aea1761a21765f745674 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <chrono>
index c3359df3fb40db5299d28d69fda5b05035765ee3..60d0e35ad5a0d4eea3b5253c445ca7b7cdb3f7a2 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <memory>
index ea1586c6b6d4150f8e87a42b0ef56b9292954a41..890cd826ee8673c0eb71a68e01aa218bcc775048 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <charconv>
index a671dbb5cec2e2e8281bb7d2dcb8114fb77a51cf..2f101d6ac5ff3a0de0e518ac88ea1d179424362a 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++17" }
 // { dg-do compile { target c++17 } }
 // { dg-require-normal-namespace "" }
 
index 2900c39005759f110da858230933c3485cc20a60..83c88f8d9a523f5e5fd27deb301ad2aaf2d687be 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index 20f127f3858cb093086d716a20d9263e3a6b610b..8e1b4d45581f91d39576483cdf18711fb08380b2 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index 1bf11c1c4a76665649b1438bb514b5967d0598dc..ee82419a77970830a778979bfdb43b01879fbed6 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index 90e2dfa63de7106e0b99a97fdca906aba81c99bb..e605b28084e3154ad5133b151fcdee32d50a9c29 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index 964965f6c46ecc32d064954a20308154851aaf70..e5de8b18820a380592b41d76718857b8cc2f27ed 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index c1e5d90d4a6c5037b98126503bd70097fcca3869..3837433efa2977b03ce7e1a79d5aaff3970f8ad3 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <functional>
index c4e11a1d0d053013182629e8c5d0b20f998a3260..db452a9fe9dbb924994ba4aa77d5af1f4794b796 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <functional>
index 39ac9d739e9d0d7d9addcca10fc22426267c9af4..2b0cc75f64aa29cfa80aa8a0b8d84d5d9b50e3c0 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index b8dce4272a3a962abd9a165648d4008108d22784..56c0555aaa10042096015df012d2815d88d2692c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 7a49ffa55ce5ba8af73b216989f4a5f4d7705220..d0c5005f34e31382f55db0656c544f9f9710f60c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 4f9b1c20f737e0769735182b21065dd4ab34740f..7b4c3bfcbc4cbc4b8fa286887bb77e4235d2f676 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <functional>
index b380aac493e1daf1192b6dc5f2393882759a45c7..707342ad2be27910fd02ccca57242a07223cff81 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index b30d93fc8c6cefb38ff79e6b9ec4af8b7b10c0d1..a9f606ddb10b64ed3b627d5907d0dd7bde7266e6 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2019-2021 Free Software Foundation, Inc.
index 4185f540b5e4a9828d1809ba6a3ccd46a767c745..80cb1f9e4c002b79b2a1323d208cc0770b2a59a3 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index cf17ecec6841cf1e40b30afc0a04aff9e196913f..377314de823b78cbb99fdf3627f3f4c3041a4e33 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index a1b4ddba1597a3fdbe4fd1aa4b9715370cc8f480..4d35334f748c6e8cc1fccbaa3b65954bc5b44bcb 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index 1be3be573d50233213c225a9138ded29bee20645..0b90f1d09ee86b0ac68a834ec568b6a5c844fdd6 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index bdfc12a18582d75c3fab33cf1872572b78ce8adf..aa1570200e77fd82e8272014bc8a1fc45fbb9f80 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index 48ed5c34184ced308bfaffe40e1cc1edb3d78933..15b7155c165eea2a98606eb78b4e860615ab5ec6 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index f0fa0bea69c7e2d6f5ed219cb818fa662c8281b5..6515fc063626817798b7760e23099f6e6b754e85 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 18afc8fe052c4566d53741bd0823e9a1d8773508..76f17f0cae9926bc9fe96b5131b43b0beb316614 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index 6cc972f3541380a8c9cc516318db6323b1254078..121e46c577520547f95b829e110cce4c97150f5b 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index aa0de5e0d294f9360ee291d65f8b2afdec230760..51ba6256d2bf96ffb6feda825585525393c7b81a 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <optional>
index 4c3fd82fb80c602c73b48acf515ae9790ec62401..a4d396781cd11aabe3252c74ffcda3ee461bae60 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index f6bf3466533aefd454728c6d51157409e94d6a00..fb4b4c1fd492e22de0d9a8fc0b39dced0883579f 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 3dc5fb99232a46ce644bf2536add6c8787ea9d98..e9055f11d58821cbd891fdbe416a039e54fee418 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 0ef48522099a85852f7244d0155dac42ddc5be36..310addb91abb9fe4aae83d77d869f1207f8d3798 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index 772319ebb8a46d736e5d050df40fdf23706e2ee0..9a2957f66c0e07a1d421fb44c0ba3ece0457c5ef 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index e98f98c8c6f97dd470373e95e067dd885374fa7d..8ea83ec4d906c10918c8184d51d8b736fb4112dd 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index b6d8db6551a1a42981f1c0e1890b9849dad211e0..c68c7c68411b4734163bf37293f1274893017991 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index f3eb3b9fbc2d50103bc6e8f3ed79caa4d215ed1d..b7d1b3fa08eeeb87008667bd34d637900f684514 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 7fc48266d99fe6eeb2db82627b62fe0ace6da69d..ac6d7b8da1c1c94664d9a45752320a61532ba520 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 1e291c7909153b19a2864f9e3d65af4bc85a7300..a0761593981959077a6826acdf489a2e001a277c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index c68d72ec304372ef0898a761dd1e128da18c2250..b1b91a5e5be91ce301008d064d5687a205d85467 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 816db3a05682c61a24e40c62c75345c407e33bb2..f088682c74d08c2b113bbef3059e65bcc278c1f4 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index d04760cd571ddeccaaea0c1aa0062cbae970ef2e..e67f1bc2f1a9b5bf7f5b3e5c7cd82ca9d2c1a020 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 3e2ab2860c24c8437ed8289b09d6701f32128356..6b07d31477ed3d878bf6538df7d9bd91342c108a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 5cad2ee79f3bb57e5fdaea43db18253b279eca7c..107041a414adae89429ca2d5408ffdfbf9b08ea5 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 4af7a31f51540fdf66dc2e477171bc44caa4f9c7..553e743446dd5198f4559c24abcd0bd109b7927e 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 4b16a4545e72d5979cdaa6d398ca681f607592e7..925253e31e1fc763dfdab691c41e609a6e8d77b3 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index 1c451691eb3516357d628c6cbb1e8f79c75fb8af..fa8abad90b9c770f3f66854182874e22861da47c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 11904ded489fecaa493135ab4a0becf010b90835..e0b8a00a345bc176b307f4c1dd8103241d611f5a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 //
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
 //
index 1e384d5e7314b8d5c16c78ccb7ec7b100f6db737..1b3d94ee52d8469bf1a531bb332c0ba18543824c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 //
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 64818780bb410f63ddf11abbf3b75c3912ade158..65dd36022f8ca3cf5dc8768f69d5f230e63ee289 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index c1d54cfe3ac2e4c8767b4a8a90313df63673ca3e..8872ff0574814a212ab38d53f89b9f9c86b95e48 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index bac0e351f1a7bc89e9260bfd641d3bfe08597f4a..0720ebe9883cee270a2447c2490add0b499e18bf 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2021 Free Software Foundation, Inc.
index bd0efb81e5bc52562b3bee1cbcc96890522fe431..eb26b906f92b223348c5e6018f228005f9780a53 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++17" }
 // { dg-do compile { target c++17_only } }
 
 #include <functional>
index fbdbd6f59f7b88e44f3477fe802242003fa6ed5b..c89e08bba5808b6e9ae2b01f95e8429647ad3a94 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <functional>
index 667a756d88b756df793ca930e63e1aaab8a5c64d..281892996cf2899d1860df21411e555fccc5073c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index be42289ee189d224d1f4aba55cafab9e1be1a031..8a3702cb245aa17f9503a39f08947147165f019f 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <memory>
index c3f5dbee5c1bf0121823a596e0fc4ebf058ea85b..1ab622db2cb7ff1a8f1bed4dbc11436f00a1edf7 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <memory>
index fb50bd813b2ea299116c7c2d490269c8f868ff5d..e868a2781b88e1ca934c09179c7dc24a6b6b6005 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2011-2021 Free Software Foundation, Inc.
index 5de87c7ecce24b0bc46abe36bed518c349fca813..0190ad1a8408b4b44741cdaf5b42962c65d896ee 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <chrono>
index e559f351b78370df41ca01426f043d9b3ed3249a..30b02a539446ff2be3cbe05cf942f1f1c8d479e8 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++17" }
 // { dg-do run { target c++17 } }
 // { dg-require-string-conversions "" }
 
index dbf41f9ffba9a07a08a7cdf044808bcd6bd67c7e..e13cb315b31d230fe7bc660c80a62924d553efed 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <charconv>
index 28ce29a7b8c16d293547e0b70528dd75c7615558..b9ab36a2b2514d139bea2c65b4668fab69e7e708 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <charconv>
index ec8ed5c260633e099c94fd70de96be02c12fe100..42e857b2988e56a766391a73925d82266bd849c9 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++17" }
 // { dg-do compile { target c++17 } }
 // { dg-require-normal-namespace "" }
 
index 9934cda4a54bcef7ed23966b6c4c65998a9fa5ed..0a6cfa7b692d0046b1e6db2cda357e0e723e7bf5 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++17" }
 // { dg-additional-options "-Wno-deprecated" { target c++2a } }
 // { dg-do compile { target c++17 } }
 
index 83c31a37ef7a54873cfe5e8628b1b731f399b365..e8352cfb6efac741da4e39a94c23a18e0a6c8161 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <tuple>
index be8fc7b473995ca694937475cff93bcc0194aee9..a2cdb62e44cc527d403516a4616a3ac413857611 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++17" }
 // { dg-do compile { target c++17 } }
 
 // Test noexcept-specifier on std::apply
index af09c971f000ee19f3cfadb87ff2156cb1b48bb4..70582d89bfa7ec73c6fe0cbcd5b4f6b496326332 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index 42479d184c047cd4b20d2057e379583a68a4fa93..2d3ab9ad09473cbf5ecaab604c4a5cc4d778e44a 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <tuple>
index b3e9486a1df7ad5ba0d5523041ee359526ef2bad..f12876b6d35232d72864a97657b1a10606d1c607 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++17" }
 // { dg-do compile { target c++17 } }
 
 // Test noexcept-specifier on std::make_from_tuple
index 1f06be82059b3b4400b936bed0db7a71d2903e97..96cfe44c1fc20f37ee3a38cc5f650cce152ab363 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index c2376418d1fef6339b1aa4e33690430e4247f920..2ecafff25d8cbfad79221ab09477dd544aa0de0e 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2021 Free Software Foundation, Inc.
index 16646edd3b915529ce0a3e79d4e51f440db4e12a..2a607291fd1a2c601af9ca1693378492ece66471 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <memory>
@@ -32,5 +31,5 @@ test01()
   std::unique_ptr bad2{new double, D()}; // { dg-error "class template argument deduction failed" }
 }
 
-// { dg-error "no matching function" "" { target *-*-* } 29 }
-// { dg-error "no matching function" "" { target *-*-* } 32 }
+// { dg-error "no matching function" "" { target *-*-* } 28 }
+// { dg-error "no matching function" "" { target *-*-* } 31 }
index e624cf568372ad496bc2e5235bb1fb525fa0f181..bf405e07d2eec9065304ce2248a22ece46914c40 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 60d7aa94938e47f250cee5bfa61c924c033e3b9c..a5c48fe5e3aa2b01d5fd0c397490b156abd27f54 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-additional-options "-Wno-deprecated" { target c++2a } }
 // { dg-do compile { target c++17 } }
 
index ded6be168eb236881963c46fcb4361f9f8b9f763..b8dc9e0c7814777ed57ad731caf2ca8dfd327c4f 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <type_traits>
index 2aa6abe4ae2572ff51ec2b335023a33d4e7dd7e9..0333942db290668d339586c391249c8603002c5e 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <memory>
index bcdc782512f77c3b1d2bbf1029da5272dba2d0ec..d795eafae456fb1b50a7e7706fb33528d3663ccb 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
index 506b18c7648b365d039cfc2a90344c39bd9b2059..d0ae2d3b7404205a62c9d195f89818aba5da12d6 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2021 Free Software Foundation, Inc.
index 633288eafb42b1e60501404d6e17e358bd5a5fed..4039bd61f6236b3dcc14a1ce0ae68412a5ec5643 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 // { dg-require-normal-namespace "" }
 
index 358e19345e12893a71435d4c6edd8334c53e588f..33f724206c60a32f58a129e92d52ddabbaaf1202 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2021 Free Software Foundation, Inc.
index a56a11057a9db19cc0a8c38b6f41c66b18218a56..06055bf7e6a260ed70ee9cb7212dfe3e6a2a300b 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <iterator>
index 90aaee75af668b93863ad7d8bdb3793c6e67b25a..e68a051aaa491dda87f785673e25aad2dcfb8058 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <numeric>
index 3b337f83bf5bb95eefc713001289692554b0e7e0..28d63bbbeb9c9ca55a46526f3da54eef97adf687 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <cmath>
index 1e50407091244ea8263653ad35afd60ca9b3bad8..ad785459721cf78d7de4bc739ec7c9a99c1e8865 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++17" }
 // { dg-do run { target c++17 } }
 
 #include <cmath>
index c4856b227eddb7b94eeecc6e01276e712b7bd53b..6ac8beef56a618459a54ec4780ca9889ee8ea8bb 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++17" }
 // { dg-do compile { target c++17 } }
 
 #undef __STDCPP_WANT_MATH_SPEC_FUNCS__
index b23796c22da46fbefc0e75a329079fabb6e1f82d..2495fa10ddde6b657902e8231afc8b3e7a3f40c5 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <numeric>
index 485b9a4dd016786f0f60e7367a7644de88900cf3..dbe23ab7f266ec7ba99fbc4373b6bc43d495d4c2 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <numeric>
index 5c709b779c4c27a3c8ffe0f2a2907eecbf75b4c0..52c8f8e44af43ea0f0849ef7b8a01c416fcc15fb 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++17" }
 // { dg-do compile { target c++17 } }
 
 #include <valarray>
index d7c6ad0521225b17b926f44afa14e00fb62b0d9b..b410b7729c64d2134fb933adc8a0800bc030fe94 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++17 -fno-inline" }
+// { dg-options "-fno-inline" }
 // { dg-do link { target c++17 } }
 
 #include <iostream>
index 3f76b5b8d84026e68391f5c82616f475178e6bde..ec6041d27d5b1cd8f63a734a03438aeac6700fdd 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2018-2021 Free Software Foundation, Inc.
index 282173a654d82e8e936e3b80946181ebd4c92678..3881d33ae850d904787de0722f550184f63a7282 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2018-2021 Free Software Foundation, Inc.
index 99cf63b20932bd39a825b2e6ee057530a4527211..c9e1708ccd4060222b9871950391e4e852c8fc1b 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++17" }
 // { dg-do compile { target c++17 } }
 
 // In C++17 these names are not reserved by the library.
index aed7c5f2f631454423a3d00f5daf6056152aa64b..9064b7796797461256adb4c43f1b4a6041958a67 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++17" }
 // { dg-do compile { target c++17 } }
 // { dg-timeout-factor 3 }
 
index d1bdf08b6b1b54b831612e353b0cfeb70d61ebca..f47fbff4da74078a672de9debda155f6251f1437 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++17 -g -O0 -Wno-unused" }
+// { dg-options "-g -O0 -Wno-unused" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2019-2021 Free Software Foundation, Inc.
index 98e21e963fe59bec254d1f4b49011023f42ed758..72c66d3b785a74a26f504f0aac8fd93b98bc4951 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-g -O0 -std=gnu++17" }
+// { dg-options "-g -O0" }
 // { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2021 Free Software Foundation, Inc.