libstdc++: Ensure c++NN effective target present in all C++17 tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 31 Jul 2020 18:58:02 +0000 (19:58 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 31 Jul 2020 18:58:02 +0000 (19:58 +0100)
Also reorder some directives so that the dg-options setting -std=gnu++17
comes before the dg-do that requires c++17.

libstdc++-v3/ChangeLog:

* testsuite/17_intro/headers/c++2017/all_attributes.cc: Add
c++17 effective-target.
* testsuite/17_intro/headers/c++2017/all_no_exceptions.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/all_no_rtti.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/stdc++.cc: Likewise.
* testsuite/17_intro/headers/c++2017/stdc++_multiple_inclusion.cc:
Likewise.
* testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
Likewise.
* testsuite/19_diagnostics/error_code/is_error_code_v.cc:
Likewise.
* testsuite/20_util/any/assign/1.cc: Likewise.
* testsuite/20_util/any/assign/2.cc: Likewise.
* testsuite/20_util/any/assign/emplace.cc: Likewise.
* testsuite/20_util/any/assign/exception.cc: Likewise.
* testsuite/20_util/any/assign/self.cc: Likewise.
* testsuite/20_util/any/cons/1.cc: Likewise.
* testsuite/20_util/any/cons/2.cc: Likewise.
* testsuite/20_util/any/cons/aligned.cc: Likewise.
* testsuite/20_util/any/cons/explicit.cc: Likewise.
* testsuite/20_util/any/cons/in_place.cc: Likewise.
* testsuite/20_util/any/cons/nontrivial.cc: Likewise.
* testsuite/20_util/any/make_any.cc: Likewise.
* testsuite/20_util/any/misc/any_cast.cc: Likewise.
* testsuite/20_util/any/misc/any_cast_no_rtti.cc: Likewise.
* testsuite/20_util/any/misc/swap.cc: Likewise.
* testsuite/20_util/any/modifiers/1.cc: Likewise.
* testsuite/20_util/any/observers/type.cc: Likewise.
* testsuite/20_util/any/requirements.cc: Likewise.
* testsuite/20_util/any/typedefs.cc: Likewise.
* testsuite/20_util/as_const/1.cc: Likewise.
* testsuite/20_util/as_const/rvalue_neg.cc: Likewise.
* testsuite/20_util/bind/is_placeholder_v.cc: Likewise.
* testsuite/20_util/bool_constant/requirements.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/function_objects/invoke/59768.cc: Likewise.
* testsuite/20_util/function_objects/not_fn/1.cc: Likewise.
* testsuite/20_util/function_objects/searchers.cc: Likewise.
* testsuite/20_util/in_place/requirements.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_nothrow_invocable/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_nothrow_invocable/requirements/typedefs.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/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/optional/constexpr/make_optional.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/2.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/3.cc: Likewise.
* testsuite/20_util/optional/hash.cc: Likewise.
* testsuite/20_util/pair/swap_cxx17.cc: Likewise.
* testsuite/20_util/ratio/requirements/ratio_equal_v.cc: Likewise.
* testsuite/20_util/shared_ptr/requirements/weak_type.cc:
Likewise.
* testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc:
Likewise.
* testsuite/20_util/tuple/apply/1.cc: Likewise.
* testsuite/20_util/tuple/make_from_tuple/1.cc: Likewise.
* testsuite/20_util/tuple/swap_cxx17.cc: Likewise.
* testsuite/20_util/tuple/tuple_size_v.cc: Likewise.
* testsuite/20_util/unique_ptr/specialized_algorithms/swap_cxx17.cc:
Likewise.
* testsuite/20_util/uses_allocator/requirements/uses_allocator_v.cc:
Likewise.
* testsuite/20_util/variant/any.cc: Likewise.
* testsuite/20_util/variant/compile.cc: Likewise.
* testsuite/20_util/variant/hash.cc: Likewise.
* testsuite/20_util/variant/index_type.cc: Likewise.
* testsuite/20_util/variant/run.cc: Likewise.
* testsuite/20_util/void_t/1.cc: Likewise.
* testsuite/21_strings/basic_string/79162.cc: Likewise.
* testsuite/21_strings/basic_string/cons/char/7.cc: Likewise.
* testsuite/21_strings/basic_string/cons/wchar_t/7.cc: Likewise.
* testsuite/21_strings/basic_string/lwg2758.cc: Likewise.
* testsuite/21_strings/basic_string/lwg2946.cc: Likewise.
* testsuite/21_strings/basic_string/modifiers/append/char/4.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/append/wchar_t/4.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/assign/char/4.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/assign/wchar_t/4.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/insert/char/3.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/insert/wchar_t/3.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/replace/char/7.cc:
Likewise.
* testsuite/21_strings/basic_string/modifiers/replace/wchar_t/7.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/compare/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/compare/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/data/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/data/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/find/char/5.cc:
Likewise.
* testsuite/21_strings/basic_string/operations/find/wchar_t/5.cc:
Likewise.
* testsuite/21_strings/basic_string/operators/char/5.cc: Likewise.
* testsuite/21_strings/basic_string/operators/wchar_t/5.cc:
Likewise.
* testsuite/21_strings/basic_string_view/capacity/1.cc: Likewise.
* testsuite/21_strings/basic_string_view/cons/char/1.cc: Likewise.
* testsuite/21_strings/basic_string_view/cons/char/2.cc: Likewise.
* testsuite/21_strings/basic_string_view/cons/char/3.cc: Likewise.
* testsuite/21_strings/basic_string_view/cons/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/cons/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/cons/wchar_t/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/char/empty.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/char/front_back.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/empty.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/front_back.cc:
Likewise.
* testsuite/21_strings/basic_string_view/include.cc: Likewise.
* testsuite/21_strings/basic_string_view/inserters/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/char/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/pod/10081-out.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/wchar_t/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/literals/types-char8_t.cc:
Likewise.
* testsuite/21_strings/basic_string_view/literals/types.cc:
Likewise.
* testsuite/21_strings/basic_string_view/literals/values-char8_t.cc:
Likewise.
* testsuite/21_strings/basic_string_view/literals/values.cc:
Likewise.
* testsuite/21_strings/basic_string_view/modifiers/remove_prefix/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/modifiers/remove_prefix/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/modifiers/remove_suffix/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/modifiers/remove_suffix/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/compare/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/compare/char/13650.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/compare/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/compare/wchar_t/13650.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/copy/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/copy/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/data/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/data/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/char/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/char/4.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/wchar_t/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/find/wchar_t/4.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/char/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/char/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/2.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/3.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/string_conversion/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/substr/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/operations/substr/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/range_access/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/range_access/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char8_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/wchar_t/1.cc:
Likewise.
* testsuite/21_strings/basic_string_view/requirements/typedefs.cc:
Likewise.
* testsuite/21_strings/basic_string_view/typedefs.cc: Likewise.
* testsuite/21_strings/basic_string_view/types/1.cc: Likewise.
* testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc:
Likewise.
* testsuite/23_containers/map/modifiers/extract.cc: Likewise.
* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
Likewise.
* testsuite/23_containers/map/modifiers/merge.cc: Likewise.
* testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
* testsuite/23_containers/multimap/modifiers/extract.cc: Likewise.
* testsuite/23_containers/multimap/modifiers/merge.cc: Likewise.
* testsuite/23_containers/multiset/modifiers/extract.cc: Likewise.
* testsuite/23_containers/multiset/modifiers/merge.cc: Likewise.
* testsuite/23_containers/set/modifiers/extract.cc: Likewise.
* testsuite/23_containers/set/modifiers/merge.cc: Likewise.
* testsuite/23_containers/unordered_map/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
Likewise.
* testsuite/23_containers/unordered_map/modifiers/merge.cc:
Likewise.
* testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/modifiers/merge.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/modifiers/merge.cc:
Likewise.
* testsuite/23_containers/unordered_set/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_set/modifiers/merge.cc:
Likewise.
* testsuite/24_iterators/headers/iterator/range_access_c++17.cc:
Likewise.
* testsuite/24_iterators/headers/iterator/synopsis_c++17.cc:
Likewise.
* testsuite/25_algorithms/clamp/1.cc: Likewise.
* testsuite/25_algorithms/clamp/2.cc: Likewise.
* testsuite/25_algorithms/clamp/constexpr.cc: Likewise.
* testsuite/25_algorithms/clamp/requirements/explicit_instantiation/1.cc:
Likewise.
* testsuite/25_algorithms/clamp/requirements/explicit_instantiation/pod.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/functions_std_c++17.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/special_functions_global.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc:
Likewise.
* testsuite/29_atomics/atomic/is_always_lock_free.cc: Likewise.
* testsuite/29_atomics/atomic_integral/is_always_lock_free.cc:
Likewise.
* testsuite/30_threads/shared_lock/70766.cc: Likewise.
* testsuite/30_threads/shared_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/cons/assign_neg.cc:
Likewise.
* testsuite/30_threads/shared_mutex/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
Likewise.
* testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise.

208 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_no_rtti.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/stdc++.cc
libstdc++-v3/testsuite/17_intro/headers/c++2017/stdc++_multiple_inclusion.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/20_util/any/assign/1.cc
libstdc++-v3/testsuite/20_util/any/assign/2.cc
libstdc++-v3/testsuite/20_util/any/assign/emplace.cc
libstdc++-v3/testsuite/20_util/any/assign/exception.cc
libstdc++-v3/testsuite/20_util/any/assign/self.cc
libstdc++-v3/testsuite/20_util/any/cons/1.cc
libstdc++-v3/testsuite/20_util/any/cons/2.cc
libstdc++-v3/testsuite/20_util/any/cons/aligned.cc
libstdc++-v3/testsuite/20_util/any/cons/explicit.cc
libstdc++-v3/testsuite/20_util/any/cons/in_place.cc
libstdc++-v3/testsuite/20_util/any/cons/nontrivial.cc
libstdc++-v3/testsuite/20_util/any/make_any.cc
libstdc++-v3/testsuite/20_util/any/misc/any_cast.cc
libstdc++-v3/testsuite/20_util/any/misc/any_cast_no_rtti.cc
libstdc++-v3/testsuite/20_util/any/misc/swap.cc
libstdc++-v3/testsuite/20_util/any/modifiers/1.cc
libstdc++-v3/testsuite/20_util/any/observers/type.cc
libstdc++-v3/testsuite/20_util/any/requirements.cc
libstdc++-v3/testsuite/20_util/any/typedefs.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/is_placeholder_v.cc
libstdc++-v3/testsuite/20_util/bool_constant/requirements.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/function_objects/invoke/59768.cc
libstdc++-v3/testsuite/20_util/function_objects/not_fn/1.cc
libstdc++-v3/testsuite/20_util/function_objects/searchers.cc
libstdc++-v3/testsuite/20_util/in_place/requirements.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_nothrow_invocable/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/20_util/is_nothrow_invocable/requirements/typedefs.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/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/optional/constexpr/make_optional.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/observers/2.cc
libstdc++-v3/testsuite/20_util/optional/constexpr/observers/3.cc
libstdc++-v3/testsuite/20_util/optional/hash.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/shared_ptr/requirements/weak_type.cc
libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc
libstdc++-v3/testsuite/20_util/tuple/apply/1.cc
libstdc++-v3/testsuite/20_util/tuple/make_from_tuple/1.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/specialized_algorithms/swap_cxx17.cc
libstdc++-v3/testsuite/20_util/uses_allocator/requirements/uses_allocator_v.cc
libstdc++-v3/testsuite/20_util/variant/any.cc
libstdc++-v3/testsuite/20_util/variant/compile.cc
libstdc++-v3/testsuite/20_util/variant/hash.cc
libstdc++-v3/testsuite/20_util/variant/index_type.cc
libstdc++-v3/testsuite/20_util/variant/run.cc
libstdc++-v3/testsuite/20_util/void_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string/79162.cc
libstdc++-v3/testsuite/21_strings/basic_string/cons/char/7.cc
libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/7.cc
libstdc++-v3/testsuite/21_strings/basic_string/lwg2758.cc
libstdc++-v3/testsuite/21_strings/basic_string/lwg2946.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/append/char/4.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/append/wchar_t/4.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/4.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/4.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/3.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/wchar_t/3.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/replace/char/7.cc
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/replace/wchar_t/7.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/compare/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/compare/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/data/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/data/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/find/char/5.cc
libstdc++-v3/testsuite/21_strings/basic_string/operations/find/wchar_t/5.cc
libstdc++-v3/testsuite/21_strings/basic_string/operators/char/5.cc
libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/5.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/capacity/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/char/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/wchar_t/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/empty.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/front_back.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/empty.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/front_back.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/include.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/char/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/pod/10081-out.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/literals/types-char8_t.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/literals/types.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/literals/values-char8_t.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/literals/values.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/modifiers/remove_prefix/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/modifiers/remove_prefix/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/modifiers/remove_suffix/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/modifiers/remove_suffix/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/compare/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/compare/char/13650.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/compare/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/compare/wchar_t/13650.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/data/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/data/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/char/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/char/4.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/wchar_t/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/wchar_t/4.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/char/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/char/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/2.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/rfind/wchar_t/3.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/substr/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/substr/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/range_access/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/range_access/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char8_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/wchar_t/1.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/typedefs.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/types/1.cc
libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert_or_assign/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/try_emplace/1.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/try_emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/merge.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/25_algorithms/clamp/1.cc
libstdc++-v3/testsuite/25_algorithms/clamp/2.cc
libstdc++-v3/testsuite/25_algorithms/clamp/constexpr.cc
libstdc++-v3/testsuite/25_algorithms/clamp/requirements/explicit_instantiation/1.cc
libstdc++-v3/testsuite/25_algorithms/clamp/requirements/explicit_instantiation/pod.cc
libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc
libstdc++-v3/testsuite/26_numerics/headers/cmath/special_functions_global.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc
libstdc++-v3/testsuite/29_atomics/atomic/is_always_lock_free.cc
libstdc++-v3/testsuite/29_atomics/atomic_integral/is_always_lock_free.cc
libstdc++-v3/testsuite/30_threads/shared_lock/70766.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc

index ec81f745ef5b01745c24d98c7e546f65b9ff65ea..035526e24cbe4057480ea31af965414b19383fc3 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Ensure the library only uses the __name__ form for attributes.
 // Don't test 'const' and 'noreturn' because they are reserved anyway.
index 3821cea5b68b99011b32226780dd9979855e6d3d..0f6e581d71c5fb9c3056f2d1ea3ab1045869d0ec 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17 -fno-exceptions" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 823aca95f48f4c199637c29bd046d65b6a4dce91..f1c59c95b0f59c85ad12f31841f9fcb487b7a8b5 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17 -fno-rtti" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 7e4254301915f732817d58fa6238e19dc666a2a6..7db8ea0e0bc53e3245f703610d9c0e43c57b6c55 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17 -pedantic-errors" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index af61df2cad7ad7a3962042154bc80f9cad6aea9d..07dc83a0abe211da1176bca24f5f38dd80eb0840 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17 -fno-operator-names" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 5b865df2f0cf567eb736053cb9e9c69735069358..eccaa9c9e074f1a233fb31892f09c7e33cc9b4c4 100644 (file)
@@ -1,7 +1,7 @@
 // FreeBSD wants warning clean system headers:
 // { dg-options "-std=gnu++17" }
 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index bda75c9daab9076e6f37731f74266f5512d17ed7..e3d53243f674c834c3f085e7becd8beda86947b8 100644 (file)
@@ -1,7 +1,7 @@
 // FreeBSD wants warning clean system headers:
 // { dg-options "-std=gnu++17" }
 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 2b84e61aac839a9dc4772246db31be52fcf88352..05e60b4e185865264ef97d1a5e4f1e2fbee829a4 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <cassert>
 #include <exception>
index a54edb1850d35485d317c9698af4962637453464..1451caf15cdca4306056e53c3a8a50b29082656f 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 30d3d279d77db3e98e7bd09474c36fb1d579213a..0cbc002eb40a83deca325bb8d95773fa9ee83335 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 988806f883b7e623130b00727b7bff14276c2ddf..bd1aab454f6e9dc4892e0e79f3ef490f16118ec3 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index a93a3521c172b31fe13cc68adc2a2823602da470..672945cb3ee416eb5e6e855aaa97648d9c89cc67 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 8bdf93759604599777e2f99c59b2c9144e87fa6a..876ea16130dd77d890e14327a8825fe22078820b 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 777da8b120b2c6f9356c89b7aae962a9d1efd180..3d8b05cc555274e0b7afe976e282f13eb99fc548 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <any>
 #include <set>
index f04b3080ca1772deb72a817088cd3caf70f377c1..91be8183c7c21d081b4ec16273a06cd8667fa9ab 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index b9324fd6c6463dc07b7be4d3910af53941e0fea9..36f6ec86088448943b548b1d86e2daecb8257156 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index e6ccd7edbd836c05c0c140fd3c9ffd319ee4f8a1..e9ac91734c357664805fed241318a4307444972f 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 // { dg-require-cstdint "" }
 
 #include <any>
index 54824eb841838383c6dd3bbbfaad58c78bee800a..b9e124fe6d8351c13e4ed5a16d06bf42ad209d6a 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 856e270e3e6ca7334757e488d796f40ed1abc017..ca92901aa61cddea58899c16a2fe20464fc61ff7 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 1a348b9ffddfcccbc4ff50593866ccdc953bf879..e6a7ed38861a547bca874959d6a22e7cb5a8e4ed 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <any>
 #include <testsuite_hooks.h>
index 31b859bfe8d19af340a05b2801b4371b8cc0743f..c75743d24657ae831352a51076af08cb795a8dcb 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 180bbefa2130f8212bac6768661644385f425494..7ca11d857f783cc3fd7f40669ea24e0af9e20bbe 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index bfc2d7cd7a21f73cd667e4d6d9b79614111f98fc..e53e219e7dc02dd352725e5a28fb481353ee7515 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17 -fno-rtti" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 73ca265e42d9666ba384beb64a1868ace43ec523..1aaf5fb0b99023d1d4aec97aa573ee2fa044b82c 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 9fb5a6b0158da7c58c8bca0e811ba30411caa459..aacd96493ff3c2b6998d800a910daf797946acd9 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 6d1b3f4b4827b2aaad02cd3c5defd047bbad851b..1ef03b66324d8e855216b2113a969552894c601f 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index b5e58911f5bafa16578ed9f7fa858f15295084db..192a15c3fa8523599ca45b7328abc0b5208ab56a 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index f161d70c7f5a53e5705cfe8463f09d1506edeeb6..d82a0f54d13221d5999c352ab80a1681e8e9f69d 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index fdeedba3eb5d9c8cbc437987a9b0da4db097b515..6f8b4caa7f2ca1ebec40e4afe397bceafebc6b8f 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <utility>
 
index 48ef35d2a90514325dd2d5e1e1ef055285c34ef8..11880ce80489d681cf7385162216e9c950f02622 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <utility>
 
index f3be9b93e9a48c10433201c7a0eafd6a39f61c51..7fe8181f37090cf0a7a513222f9bd2b2cbdb1abb 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index cb4256de5e9ecc7c78e4a491cbb4da7606e4bfe4..10fc3a60f5a7c203b8ca913d32d9190276e648e3 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <type_traits>
 
index 82f66490912892507305c21814ddc7f2e813da53..518930ffcb9459d64a952f370f51d152c12e621d 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index e1b86994570d3a9dd0593e8598dbbb21f40876a7..845e4a5d5cc6c668f8bd81788c9b8acdbd1bb2eb 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <chrono>
 
index cc68d7ceac570eb77afafea14b72810945dcb7ac..d83b23ab9a1817cd20ea61609e71c89ebd24986e 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <memory>
 #include <testsuite_hooks.h>
index 8df2cf0ff22343e958e4a0431586f2d65aa37455..692712b06a9ae585dfd0d3c89493eabbd9fae8a3 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <functional>
 
index ba871597da71dafb911db9d5713a213695a52452..d24f321ef6c9fef95f7b0c641d4c71bcb6f8b072 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <functional>
 #include <testsuite_hooks.h>
index fbf42a16927e6a502464e451b27ce338a2a32291..2174f078c3400560d01ce18bdacc084caff1f8e0 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <functional>
 #include <cstring>
index d6758d2d8928dd74dd3ed11a2956c5de89d387af..7bc421402985eb69832f0874b0cd131736a6d485 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index f860a7e7bd0791083b80c51d414362f985af4a6f..a19eda37a01e76fc6831f5e5e964612effdb1e9d 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index ad3fa56c16121863d42456c48771ae6b80c408e0..ea3830fe50aaeb8b1bc5c082f3818a38d3ae6868 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index a1d15e47742af928c4602c895a8e56acb60cf974..2107c76410ced342303cda223faa59f30d14a09e 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <type_traits>
 
index 1954110003d09ef60051a1796f5dae1b3e14e7d1..16fe4e5c61d3b87dfe72897a648be4b4403771d5 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 477e836c144e4928c575ba88a9f505f973665a43..ee4cdd031a029c6f1e0d73c8dc62962820bc6931 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index ed9a948cbddecd67a3c15d2a6adbb631495c5d43..8c86098faf8856c3710472f0b7b4fbba15075afd 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 62a8de442a256ca7189db69d04abee360f4ec034..31ad9727d0b0527a96766af3d9ae4a677123aadd 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 047d199fab336d12ce73144e6608bb0c424064fb..b7ef01b7d7771a2cb709f7d244f3847524929f54 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index d8ce76ef0cd385b2eb85638040310bdc5081c84b..83ed01dcb1f5959ad422c68a45a7325721124916 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 40d166b85712a3c789e2159d9214d1422507a811..4fc9bfd9b821f3732faeb782f3cfc5f3aa196a47 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index f946a7e82125796e988506d0607a8bf747ae83c0..87a3d798599eab981bd8fea90dfec1b510e2d0f7 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index f98d712d6475a79e197729034ddaecee4b1b43a5..f8eedd40250618a3a7849d05a1ae143872f640f9 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 22a6b9963d5f8de702d3017f6ab2e84a0f556f43..55d002f76527ecefdf90ef70587933f825205b86 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 71041bd026a19985dea811d20970f09cce1e7043..d6d423aa83f6c5b6408508cd2f2994a0ea2cdbf6 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 833ae306d6ecfab948c2872d3474a3dc3538d23f..90edf33ed74a47ed110e4f66d4e7c13ed1e82a14 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index d548b080e18becab46b8d5735841cd7dff61d97b..f30870fb7a7786eeb70d54076476a8c30641e195 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index a6b8f2e914ccd8628d0f4fece1deccfd863389f9..5f8b383c5312bdb4ba66644a974d3daf537a75e0 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 1e2d8a17ef417a98eea6e87260376cfe1626c3af..53eedc50892462e3bab7b783499c2cc39cd4fb73 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index f36b2d1f0d92f30c1ac4e5ad29bead0a985ee82c..f4355a65135fe011e8f2fb2122b06ed71d2b3537 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <type_traits>
 
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 void test01()
 {
index 8b99d7f9c94a7e33d02c626ce913e315b1bccf99..34ef32580d35468ea2ba832a514011ebadbfbde0 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 //
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index eadf9eb33db730aab7a67d42715c941bf17dcf86..6cd1d522b204143a63107f0e9dfe54a0daee0b53 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 1abde324bbe00ccc559642e04bcfbe0b0c5d2445..da340dee7bb737099240219de28be93641a3453c 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index abd2e7dcbba8714ddc7eddd9d8c52becae598ab6..751ae499cdbd404a781da4ef24e380fe88023c7e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index d0c0765630201cf7905f1db3457f0b10e0b629fa..d37453a7bee13157070708c91a923c6079411968 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 45c4b42ed7136de41847c1ed20ee77443cd034b4..bce3e33e8d9eaa06903455fa5ef02c24e18e8de5 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 2caff91e1a2fd68b4c7960e53a230b97a00391c5..b8f68cdbeeca6959420da12e57b2d57f33ee464b 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 653176efeb091648c3d9f013f321520e94cf9ad6..beb49dda4a2f104f1763e389ea67019e05e7bdde 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <memory>
 
index 682a164768ee74648c446ef4155b0f7fffa0a5cb..b7cf05facc4e43837abeca6df17c8a83502784d0 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <memory>
 #include <testsuite_hooks.h>
index 650501161079532670f71a2153fda5bfd837575b..2baf651ef7216d51819b50b6bc85f10ee6572ba4 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <tuple>
 #include <testsuite_hooks.h>
index 4f0e76cdae390bd44abe0de4903656d8d6e25335..282bc512c9afdf4743f6e08f4718be0ce74ec5a0 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <tuple>
 #include <testsuite_hooks.h>
index 6c163e4c7e2323a5cebb4c3308e2578b9eac7084..ff18f8181b436dcc9a792c4c749e783b2d5e8ad6 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index a1d20e2021d5e87e00a994f584329843b1d45dca..0e91f0653cfcd7db79f77643d3b9727eb82bb903 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 96035bdd3225b06149173319f4f86d48e698b0a8..6a5c8082afb513ffd0abe252164ee0894d8a8147 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index f89caa16d0a6da9ae544c71ca901dedb0c3c1fed..d09743627622e3ab579f2109e1647e9e5b91a977 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index bba4ee57b8ab435a56b0b520bc016c715c4363dc..fffa3f3601235d855455db7a911dcbf4499a2724 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2020 Free Software Foundation, Inc.
 //
index 5f681754b5f2eb6aeda345cbaaaad271156433d8..5e9e80c38401426ec7375d844e823ef20e464694 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 90151d9f0c92d611d0db5e1555561aaa9524de50..a43f39eb303228d1986bdba178a186c35f4ffc2b 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index a1136d6be9dd55a4c3ddba699fb3f08704424856..73863fa677f8cc66e3750c7dbc136e2630f71790 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++17" }
 // { dg-do compile { target { ilp32 || lp64 } } }
+// { dg-require-effective-target c++17 }
 
 // Copyright (C) 2017-2020 Free Software Foundation, Inc.
 //
index 0ac5de25289ef6fd063a68456f3be55f10c65fca..578ade48f56844762c35d29daa5cbed7606d27eb 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index a6ded5875b6f98a4cbbac0ed30b2891fa1d22ee7..d59d07f4de720406ef2125029c20bd681ef4ba76 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <type_traits>
 
index a1a69780793ccca87daafec369b6a6947ce7ceec..cedf6b76a0f5a56a58bc6ffa2ec468d951531e40 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2020 Free Software Foundation, Inc.
 //
index 7e0e9983898e5af8b8f33c98669f3519d2be614c..61cfbe6caf75538b6ba0e77c2894a87415c578dd 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 44920d5e0bb938ac9158cd381e14806bc7baea97..c5491a3bd02997392d79fb50d4927bc98dc51469 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 16abb9c4bd7201c5824a11442cf2578eb6c5f267..3284caeaad688d2e06cb482bd765d27ade036288 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index e95cd7777d60104998915a8d94bb77bf066be0e6..ccb577aa90255ac18d73f40e39fbf4e6a43fb8ab 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2017-2020 Free Software Foundation, Inc.
 //
index cc8f896f1a37da6e439dfe71036f345bbc303a74..2eac4e9e075b8c98477acb44ea8ee37e18ee9f65 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index c3e13d1f9faadd0a9503339392f7a7fac9964a7a..c09b55b4bd541a6a137aac955af33e233b7d1f22 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 29d4e4c6c0b6b577bc795e2a904ae57be53f99fe..5497f155b14142ec00d58d27a5bc9bc336909825 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 136388d69f48571aef77c740713c54bb8d220e05..59e874fd89e7a220ba4b04ebe16509a32161e930 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 7fd5850fe580e77a5dc7041449dfec838548502c..aaefc7f0ef7dda81e7b2cbf62015ffec77081389 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index d585f85306ec431f855a3e0a8a0eb203e4f48870..48b828710bf136d44348235c81fca226e080a76e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 8918edd54a411936b782e617ea4b3728881b47f5..fe97517fb19c22c9f5878dbdaf81f8b8c198030d 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 9622ebefcfff27e4b46dc21e993a98a962e742a1..0e2437b84ac75e29edfeba31ec892ef873965ee5 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index d9c9aaed9fa410a131d8ebe9f7ae43730c3f630c..f2713122a4400e92914130b1b33c9632126b05a8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index b8856e530beb6435f26f6f5428f35b4e95a6a8fe..a83c9a1db073fcd4a0f3f060b19805de66bf38e8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 7608a0dcb4f653f0396d339cad18069e17a0bce2..edd7029a7079e2ef60f8cceb837b0bdf1e51202b 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // C++17 21.3.1.7 [string.ops] string operations
 
index 3c977e05464ed47419fd27503862dd118be2fa78..7099695e739e91cc67b82ba70764a5c2737a894e 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // C++17 21.3.1.7 [string.ops] string operations
 
index 3660911729441e82767f9efeb9036d7728ff292a..746551b0c4873ca49608b8a15c077fdc26d29aad 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 56f98ea990a741012f9d3fad1e08aaa6ed5b7408..334904d5c0415747a20a1af7ba78543be4494bd6 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 0aabab479df1e8ce1c2604a6e36edbeeb2d531bf..c6f9b048d05ca0e8f04cce6791ae8c393400df76 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index b9437a3504ebd98eca8935ad0d288bd2c59c7162..1510766578c479400445f274f42b57e55dff60c6 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 5bbf333816586252f0430a9707ca6370496fb9f4..0307a5bd85d917fa36043c437879b3ee20801c18 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index e86254b8e855827919d13ec88a0b7fdf741b4cfd..128ce812ebca949f9f20cb946b70a69af5862308 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 8098654315ceb88d43db410ce617aecfef2fa043..7bda603d36c2918273bee3b87c9d4f841a66ffc3 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index dae84097e4e940ff5ffea9f5d7bc787850c95df9..a1bb285a035219605d3fa2ecb46b192fd658a771 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index ccf7cd361edee4d30d4bb728e4c29d711e620570..81f622f129543a78c33a36eb6051a01d14ef622a 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 62928fcebc667f104a3328c04c084439ce868589..ea912c27d4faeafc723fb3bb37660a3dfa82d13b 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f00b0361e16336d1964fbd2a1622f26b93a4b977..a806773c846ad2ca9cae2332aceb1b06ed015169 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index b1bc4aa39a566c9a05d1cc3343d42184935453e2..52e8d3faacb72393f0d21118a93d467ff8a02e36 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 29402d066e253d2163f638be06a14e4a53711f82..5978c366824d54c0f1717bde0cb41150184fbf72 100644 (file)
@@ -1,6 +1,7 @@
-// { dg-do run { xfail *-*-* } }
 // { dg-options "-std=gnu++17 -O0" }
+// { dg-do run { target c++17 } }
 // { dg-require-debug-mode "" }
+// { dg-xfail-run-if "expect debug mode assertion to fail" { *-*-* } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f22bc53886c287e49dda3fe075728b1ca3a8aff9..44de1a46340d116bce66624a99cc3f6ae1f12f07 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 60174f0f33c97c07c54d21c19cdef0b5163d3663..12992b2c34f01980bc54e094d0a3b1920073f2ca 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 // { dg-require-string-conversions "" }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
index bae9f5b4b06bc55de13f3d2babefbb52666a95a1..9749941bd71db850f773a99f912dacac9c9e744b 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 1f811538bb4a79a4bbb93a318f4923105349f75c..90be1b37374706203aa2a9e8bf52024d43029f89 100644 (file)
@@ -1,6 +1,7 @@
-// { dg-do run { xfail *-*-* } }
 // { dg-options "-std=gnu++17 -O0" }
+// { dg-do run { target c++17 } }
 // { dg-require-debug-mode "" }
+// { dg-xfail-run-if "expect debug mode assertion to fail" { *-*-* } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 52c8dd52016f938c491de136c253bdb83f0e7172..35f411230f1cff54d327c3ab157145051e6625cf 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 812e9f96257c4e3d4a461d5b7ad6c8f56701cfdc..edf50fb2c249b62d57c8c54089b98e884c6f6326 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 // { dg-require-string-conversions "" }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
index bca70bfe0a8ba539c3ecf4ba66e961068faab24c..688a5a00c8b42b4d4ce33ee434f4bd9a05716d7d 100644 (file)
@@ -20,6 +20,6 @@
 // NB: This issue affected only debug-mode.
 
 // { dg-options "-std=gnu++17 -fno-rtti" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <string_view>
index fa2f1f91a463587385bafc6ad7cf88bb5ebdccd5..c565cca8bb41736684b84dc4dd9a06aed0a86951 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 8fa3e5ce6e594c30917e6edbeb8a71fbb6250e23..7bf91c1ad831a18eca8580bfd60c3e46c982aa1a 100644 (file)
@@ -23,6 +23,7 @@
 // all of the string_view class.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 // { dg-require-fileio "" }
 
 #include <string_view>
index 0d689c3eff4d0613bd14a8ca89ae6f540a34ea30..69bb7732d07403c7501363447ec2ac713c34bbad 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 0ed6e8e488344008b4e798f63b426be03b3b60ac..89e94f329ffa7a691dbb1ff59bc4de5b1d82fb16 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 9d632573c79e11c4cd5ff4803080b27d999b7117..16eb9fe898a2b65586939806ae4708df994e1c01 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 0d587e4bf0478ba295642bb7af31433a5dc45457..ce75c89c824e87b087af749fa8b33844db44a2d6 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 // { dg-require-fileio "" }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
index b1fe5bc389173ea0f173bf00a769460091d88841..47861cbdd7981a6b194092d92dc90b0aecc6aa65 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index c84acfa6acde27413afb28b648856f75b37d5f0b..8a155886f1a34bc2adfbbae331929e082c534b13 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17 -fchar8_t" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f0c1c2cd5d817bf3e8d38f70567a4d11080cbb2a..5d8fc1465e4e3cf5c4340144ab87123fe8182c7e 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 9acf11117dd6d045f62210b5399cb8223a90d06e..4e2aa1110801deb8a134a4fb923d83d34ed70da5 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17 -fchar8_t" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f01b2126697f0fb81c425208d4e7dc5cfe05566e..f00778a82c95dae800dda7bd10a75e7f5d417614 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 9c207ef0948fece0e890c8eed49503de0a376144..1f00688a915cedbee17a8a40ab88a95e67b6f84e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index aa7674fef374ced00487c8155570fe6d6d5380cc..fee592809597ec8ec620a5239c9a2bdc191d83c8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 47bacd2dbf1bedf2a5dc010b4e091418efa31208..e222188b45aef68a874298dded1fa74750c1801e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 1548a81beb3f15929deae65d8e1840602bb548ce..148c8d3150a4c11a58b0c87bff296fefd67b3edb 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index b4ef8c034f44b3a0b9ec0e79a430ed95d6261c0f..9bd3889584d22990dd83fbce2b99e4b406ad843f 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f1de99145a9c249b3490528e74d4a648396aa45e..0c15eb2b7e642deebe0a0de4c2d9c2cf87b57b77 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f609e9636ff14f0eea45965ef0f0812181c0c786..91eea8412f9af7da529bb81db58f5b4f170ebbd8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 58a3e9a6dccbb5df8382e3f36334c943c6a605b2..e4eef0fbb63957699b15032c29fbe47390702368 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index c672b7fa609a86ec28de2c639085a6f5ae734855..7dc6ed59768ddf49dc19e0bb1c27a99675dc5a4d 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index fbe6c4661638819c81fa64d23a17b19681b57b20..ce909d2342f9984e83482b8b711243f9231b9962 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 18fc9f5fe8885f76538c40464c332a493633808f..8a0dfd990bb9b5f4e5a6d44d25dafc4f562faecb 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2014 Free Software Foundation, Inc.
 //
index 6596db5289969d5a60cd2e81c30de607bd0e2fae..f4c9a51cd50fa3ad1865c60302b68f1cc454e245 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2014 Free Software Foundation, Inc.
 //
index 73f752eabd62e7870ee6be682c019d66f0356429..c3cb4466d2d6934a025294a9def4334e67afe2a7 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 8565b5ff450bbcf603b0c5b111e55ff4c050d45c..4313ac6f7612c211c019e568164268bb59db94a8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 5f171e9dc209eac82b5cc0a5b09185da740a5337..3dad362326083aa2188b5e7c3a9d57e4cc457f15 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index f4391e675d74a2c2d978ea19361ec5bdb88cd147..c95ded1254d29e49b5d57b1d2bbbbdc7b616a053 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 6a2f3759beb7841ab0d7a13a6876afed771a3072..591d680f13b36c3ac49a403ad156fc45f60fa3c3 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index ee0ed0941e019684b92a0e47a2e480b528c226c7..947713dc30693d798253bd896f7b0a6cc201cb02 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 6b8d2b82d23260f3a42a706780361ad5bdb93596..a9a07c3cc611236e9cbc43f54662932d4eae814c 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index ac504ce4c09b635e34fbac79646c22243a0cddc7..0da4f05c4343f9494c88aa30227f4ccd51dedd23 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 1e0b948912b5ed85487b45f640f69501260f3b63..39e8b977a7bd2f3323e3b14722cf3b1c596e4711 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index fdca3fc0209be3c9271da09753cf6b21171a0afb..4e6affb803b2f9554a41a8975a643b94d1cba123 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 809f015c3d5d96c5b24c729e54bd1908da2aa11f..f462a7b7e4d7bbfd39cba4e47c91a3a92862272e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index ab3f80f4cd9bb40c51404c495b8b6d3ae2b42e29..2246332e3d54f4c864436419ef31775b34c00c14 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 8fb37930180f72fd14696d1e836d0ec1a69a7987..12fff465c10454dcbec18614ad8597027bcb2359 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 4e32edfe1c8a84d37378f8ea229a6edf81cb3591..4f9e225bcc7b5f164ad5690b53ba7a74e38cde0e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 806f5d4de678fcaea28e92ca641a3b26abb9edf1..8d853232ae9d64958d5c2d8a87d86bb56d986d28 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index 1c22d62063b70064fdc560a2b0b09ad78a317826..f67c119f0d8ad6ccfe2d1576dc8013f2818bc4d2 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 8a31bd5e0351eda1fec17bcad97e88f1735138d2..a13b26dfb39be00962b3abad7959dde2413c5885 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 3313cc6005e216a2406d86a91a582bfbed04a4d6..e14faa22c6157514916530f065e6afec9cde40b6 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index b899bd582bba66d54402309945061dd6f848a765..db53491a079187eb18c2194f14f00020c8a44288 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 0cf21ad443b247fa1ee2049c37c53d640461f199..b09d4ec663ddadf63dedc83c68d2d20138ce1e7f 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <string_view>
 
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 template class std::basic_string_view<int, std::char_traits<int>>;
index 0cf62561a07306e79295b0fa9b50937efc843ab0..a3eb2f3434255419454d48ae3f835f980e37b95e 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 47fdd41aa9c974f22c798924cedda75be014c69b..3d32915505b31712cd950010f40d46e0704b78e2 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 7abd74b35001dc27a52dbf0c31cb1d67d471c284..5bb50e614ed8b040c8b36a1e3cb8d869e09cd17b 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 4f31f19031d11505e494d524b8bd5ee94583e857..a951f75e1b06ddc7a7a46a8da188a7d75583f88b 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17 -fchar8_t" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 41a2add47c926d709ae8ef26572723c97ce3ef9c..bfbb64e2a86cdb1822d86fababbf7db042c84fb7 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index 71299a919d95e9a8fb3a1209b823044ba996a37a..f3236d1d0aa22d50ac427d3ef32b85194ca5b878 100644 (file)
@@ -1,6 +1,6 @@
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //
index a0bbca1c89bc03d116699bff17b8a719a6ca50da..c1ece8381e7de338526015bd52101ca858cda3b3 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2014-2020 Free Software Foundation, Inc.
 //
index b95036d133c8ff28c9a2bafd3ab93471c0a24010..818c3bbe044b95a58bcd94887a5456a7769ce5d8 100644 (file)
@@ -18,7 +18,7 @@
 //
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <string_view>
 
index 6831e3e347873330cc769f4b0b437be52586800c..8ec631b287f34c15da4e047a3388b86283f5d23c 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 507ba6177f8eba89582c6c73a9cd6d657e8c60a1..9f85811e2fafbe49353e97f783db2de363d56fef 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <map>
 #include <algorithm>
index 118166c02fa25c382e9649c5d603325e0d0d50d3..b32fb30afa232d6deb7da76936dc303ca08a3f91 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 950b65e17012db06f17f9ffb84cb77ea9261cc61..a2c816be5d800e8c99ff76e9f87b4ac493f32562 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <map>
 #include <algorithm>
index 4fb2adc9d36c731889c5d6876b01948f5fbffe0e..3c3b111256e81f801d7afb9b5be428897e85d8b9 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index ead4f71d6788ac56386708ebf1b3be5ea20f6684..3e7b6083a851e80224a36d3c0d17fed08c762b62 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <map>
 #include <algorithm>
index a0dacf8c4a971723374f6ad94f77188820ca7368..0c51e4b8242444284cd1e07d8b2cb541abe2e219 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <map>
 #include <algorithm>
index e0d67a5277d3185391f4cecc354ba8bdc22f2145..6b819d9cb3efb9a7862d9aebd7e7bf719d9e2677 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <set>
 #include <algorithm>
index 0811bcc47c8ad43ba3dc04c19fb80453d9eae069..52543541c8089b124a5df4d29c48ee961ca988aa 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <set>
 #include <algorithm>
index 467e63f9cfb7df1d063d894b1ece1251b611f7ec..12c1b6aad8c30940ff0a89ca3ee92e9bdf326480 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <set>
 #include <algorithm>
index 7e95de8bfe4cd4588aa70a03489850918c995e0b..2f7cdc2b75b12fe3aec6d6782c9e779ea21220d7 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <set>
 #include <algorithm>
index d266b4386641013ef4fb11abc9c8182f5ac2cbb9..38928826689c846da4fb31efb6bd0af8817ddcec 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_map>
 #include <testsuite_hooks.h>
index ae87a86375ca615c6a1cc1a5f48c4bfe74487cdb..f7a6a1a94d0660fc4fb8ed5713544232d123d49e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index e94acf70ed81ffd70d7bb5adf701cd9f6b890a94..5bc0997c55b988581165263ef4a9ac7b228b520d 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_map>
 #include <algorithm>
index c10c4b5a65cbd3808fed63eb36331cf269c9d4da..684917ad8df86a6f8c857112e2e0ab20ae826760 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
 //
index 4f3d7838aa77b14b9ded14ceeb548d1e3bc61be1..bf41e86059966fadecc0724b297238b1d9fd2bf6 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_map>
 #include <testsuite_hooks.h>
index 404ad388a05d49401c7f7bc58134cd0ff75fc111..0efa2845c05fa98e69260ceb7a2c9e2d66d8e670 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_map>
 #include <algorithm>
index 65ec0f58c578eb9feca1f1bc6ec7d4472b926f43..c593a74e11fd3e4c1a618ea68114bb0ecd9fe3cf 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_set>
 #include <testsuite_hooks.h>
index deb5ef247c448111c9123a85ff8e334b58b0ee99..e22e643655442a59dc8200a2fc301ef88534a509 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_set>
 #include <algorithm>
index dbd02333fde2a915e4abe60354dda00b228dbc9e..df17f1d37c304d97bf775aa79557459f5d2ddf07 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_set>
 #include <testsuite_hooks.h>
index 3a7110997421a47222f4ef84fef15720e0b58bf3..ddf13ccab5c2c948b6883aa52c46be45a99c9190 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 #include <unordered_set>
 #include <algorithm>
index 9ac87817beed25c830a75d68460287c377faf714..4504d84af6565e58ff658dfd1ea1c171bb0f5308 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 590f3050efc460856211c8fb1f178ad05c2b96be..e870fcf12661fbde2df3be26c23d8fa9281662ab 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 // { dg-require-normal-namespace "" }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
index 8ab498bb03689f85e03a9451abfd9f8f3c30c0e8..1959152e87276eb3c0eb3ea4475fa121f2ac23ef 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 2d8011d5626575c42c666b6cdd79e7c3db2517a2..a7fa3e8e1e77939146f0b49516d76943face6e60 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2000-2020 Free Software Foundation, Inc.
 //
index 2eea24ef604a9f6b86ba0da10ae43fb4bbf39178..84893b44f4ba93e58481749d1415eb47fbd6de6d 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 0d23859e0d9006d1b27bd1586dfb407b82d4a08f..ded1bb116f8d3a48c668912cb9158be57c8be862 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 96097ad7044a20d795d162088e6d80018c23735c..fc23abd61362cea12c76377b7877f04012dc3237 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 // Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
index 1379813dc0875c4d88d8a19066842faaf786af6e..f2dfeb623a9c7e07818557ef85c5f267d56a3ca5 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <cmath>
 
index 0ba3248ca3377317f6833640c9467bfea5e7d27f..a3a96c60c83ab46ddd4345392651276435c3dce5 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #undef __STDCPP_WANT_MATH_SPEC_FUNCS__
 #define __STDCPP_WANT_MATH_SPEC_FUNCS__ 0
index b4ff52b7d2c8d45dd3d2e096eafed7cce0a1e345..d7c6ad0521225b17b926f44afa14e00fb62b0d9b 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++17 -fno-inline" }
-// { dg-do link }
+// { dg-do link { target c++17 } }
 
 #include <iostream>
 
index ae0f82369c002681ab217f1c148711189a08445b..ca6a08cd971c037fa0ccd617830b8bd52168fbf2 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <atomic>
 
index 7b9b6a7305967056cae59bfa33443a2d4208b912..b6dc63e262e8b3efc3bb354fd2317785bac9bf47 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <atomic>
 
index 37e0740e477874a214dceda9a87fcec650c961b5..65fa865fa423d872b41ed94e7ea5233c0185cf43 100644 (file)
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <shared_mutex>
 
index a394bf121ca7e07099f2b20a4975938ce2df9c46..ea177c0808481b32c9ea89990fe0cb5ecdd42a28 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do run }
 // { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
 // { dg-require-effective-target pthread }
 // { dg-require-gthreads "" }
 
index 452e68494c31dcf6721eaead7d053b5334badda2..64df497c85e506f0f79512f7cdd254c3fa55802b 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 // { dg-require-gthreads "" }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
index 97420b1ac17633dc672fb2192b4ceb2f3107ab33..aca2169b5b3adee46e9e0e21b03a61a0a44b595f 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 // { dg-require-gthreads "" }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
index 72f256fe6ae27e74622c59b3fb58d74cd6692353..1907a93334ea87265dbce0fbf47759a8a3ac30c1 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
 // { dg-require-gthreads "" }
 
 // Copyright (C) 2015-2020 Free Software Foundation, Inc.
index 2c43cbfbc741c5ec7552de97229437d493bc828f..c1a3cd6cae6f20601d9d91a34809fc89af460475 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do run }
 // { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
 // { dg-require-effective-target pthread }
 // { dg-require-gthreads "" }
 
index 5a5f39de6d4499b1d7cc9979e8fc1c2c65581d32..d5d5e10084ff794892c0d638dc644fda23ee4ee2 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do run }
 // { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
 // { dg-require-effective-target pthread }
 // { dg-require-gthreads "" }
 
index 3c81dabec1c38e4c40dbf6bec70f74e8b064aa13..146d8c20c60fa9c939dcbbf1bae3f9f8c69e5e4d 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do run }
 // { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
 // { dg-require-effective-target pthread }
 // { dg-require-gthreads "" }