]> git.ipfire.org Git - thirdparty/gcc.git/commit
[libstdc++] [testsuite] defer to check_vect_support* [PR115454]
authorAlexandre Oliva <oliva@adacore.com>
Thu, 27 Jun 2024 10:22:48 +0000 (07:22 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 27 Jun 2024 10:22:48 +0000 (07:22 -0300)
commit95faa1bea7bdc7f92fcccb3543bfcbc8184c5e5b
treed02befd38021375a315bd42ed923fbee9eaa8865
parentbcdbb85f26aa0d25645d51ddf728a049b201c980
[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.
libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc