aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2024-06-27 08:14:34 -0300
committerAlexandre Oliva <oliva@gnu.org>2024-06-27 08:14:34 -0300
commitb70af0bd2e33e9cc20dae45c131429a402fc8845 (patch)
treea88b73792954fc8b72352d6b620c7b45d802e932
parentc2878a9a1719e067b1476377bd2a292350482e61 (diff)
downloadgcc-b70af0bd2e33e9cc20dae45c131429a402fc8845.zip
gcc-b70af0bd2e33e9cc20dae45c131429a402fc8845.tar.gz
gcc-b70af0bd2e33e9cc20dae45c131429a402fc8845.tar.bz2
[libstdc++] [testsuite] defer to check_vect_support* [PR115454]
The newly-added testcase overrides the default dg-do action set by check_vect_support_and_set_flags (in libstdc++-dg/conformance.exp), so it attempts to run the test even if runtime vector support is not available. Remove the explicit dg-do directive, so that the default is honored, and the test is run if vector support is found, and only compiled otherwise. for libstdc++-v3/ChangeLog PR libstdc++/115454 * testsuite/experimental/simd/pr115454_find_last_set.cc: Defer to check_vect_support_and_set_flags's default dg-do action. (cherry picked from commit 95faa1bea7bdc7f92fcccb3543bfcbc8184c5e5b)
-rw-r--r--libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc b/libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc
index 25a713b..4ade860 100644
--- a/libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc
+++ b/libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc
@@ -1,5 +1,4 @@
// { dg-options "-std=gnu++17" }
-// { dg-do run { target *-*-* } }
// { dg-require-effective-target c++17 }
// { dg-additional-options "-march=x86-64-v4" { target avx512f_runtime } }
// { dg-require-cmath "" }