]> gcc.gnu.org Git - gcc.git/commitdiff
g++: Rely on dg-do-what-default to avoid running pr102788.cc on non-vector targets
authorPatrick O'Neill <patrick@rivosinc.com>
Thu, 2 Nov 2023 21:34:48 +0000 (14:34 -0700)
committerPatrick O'Neill <patrick@rivosinc.com>
Fri, 10 Nov 2023 18:11:02 +0000 (10:11 -0800)
Testcases in g++.dg/vect rely on check_vect_support_and_set_flags
to set dg-do-what-default and avoid running vector tests on non-vector
targets. The testcase in this patch overwrites the default with
dg-do run.

Removing the dg-do run directive resolves this issue for non-vector
targets (while still running the tests on vector targets).

gcc/testsuite/ChangeLog:

* g++.dg/vect/pr102788.cc: Remove dg-do run directive.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
gcc/testsuite/g++.dg/vect/pr102788.cc

index fa9c366fe565e460af6150e88594ef7355cd0851..032fa29fc72fb1e4490afae6a724a112c3466f0c 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-do run }
 // { dg-additional-options "-O3" }
 
 unsigned long long int var_4 = 235;
This page took 0.091426 seconds and 5 git commands to generate.