libstdc++: Remove redundant -std=gnu++17 options from PSTL tests

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/20_util/specialized_algorithms/pstl/uninitialized_construct.cc:
	Remove -std=gnu++17 from dg-options.
	* testsuite/20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc:
	Likewise.
	* testsuite/20_util/specialized_algorithms/pstl/uninitialized_fill_destroy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_merge/inplace_merge.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_merge/merge.cc: Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/copy_if.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/copy_move.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/fill.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/generate.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/is_partitioned.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/partition.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/partition_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/remove.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/remove_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/replace.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/replace_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/rotate.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/swap_ranges.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/transform_unary.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/unique.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/unique_copy_equal.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/adjacent_find.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/all_of.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/any_of.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/count.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/equal.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_end.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_first_of.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_if.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/for_each.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/none_of.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/nth_element.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/reverse.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/reverse_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/search_n.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/includes.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/is_heap.cc: Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/is_sorted.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/partial_sort.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/partial_sort_copy.cc:
	Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/set.cc: Likewise.
	* testsuite/25_algorithms/pstl/alg_sorting/sort.cc: Likewise.
	* testsuite/25_algorithms/pstl/feature_test-2.cc: Likewise.
	* testsuite/25_algorithms/pstl/feature_test-3.cc: Likewise.
	* testsuite/25_algorithms/pstl/feature_test-4.cc: Likewise.
	* testsuite/25_algorithms/pstl/feature_test-5.cc: Likewise.
	* testsuite/25_algorithms/pstl/feature_test.cc: Likewise.
	* testsuite/26_numerics/pstl/numeric_ops/adjacent_difference.cc:
	Likewise.
	* testsuite/26_numerics/pstl/numeric_ops/reduce.cc: Likewise.
	* testsuite/26_numerics/pstl/numeric_ops/scan.cc: Likewise.
	* testsuite/26_numerics/pstl/numeric_ops/transform_reduce.cc:
	Likewise.
	* testsuite/26_numerics/pstl/numeric_ops/transform_scan.cc:
	Likewise.
This commit is contained in:
Jonathan Wakely 2021-05-10 16:22:53 +01:00
parent 23972128c8
commit 646e6c6524
58 changed files with 53 additions and 58 deletions

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View 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 preprocess { target c++17 } }
// { dg-require-effective-target tbb-backend }

View 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 preprocess { target c++17 } }
// { dg-require-effective-target tbb-backend }

View 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 preprocess { target c++17 } }
#include <version>

View 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 preprocess { target c++17 } }
// { dg-require-effective-target tbb-backend }

View 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 preprocess { target c++17 } }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
// { dg-options "-std=gnu++17 -ltbb" }
// { dg-options "-ltbb" }
// { dg-do run { target c++17 } }
// { dg-timeout-factor 3 }
// { dg-require-effective-target tbb-backend }