aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick O'Neill <patrick@rivosinc.com>2023-11-02 14:34:48 -0700
committerPatrick O'Neill <patrick@rivosinc.com>2023-11-10 10:11:02 -0800
commit61701b20fa268c93266ba8c18d9f209bb4317400 (patch)
treea829393bed1baa84f926b94417e04ff96edb3e9c
parent0f02e744ca1ea3256f912dbeb965ead3b5c9f66f (diff)
downloadgcc-61701b20fa268c93266ba8c18d9f209bb4317400.zip
gcc-61701b20fa268c93266ba8c18d9f209bb4317400.tar.gz
gcc-61701b20fa268c93266ba8c18d9f209bb4317400.tar.bz2
g++: Rely on dg-do-what-default to avoid running pr102788.cc on non-vector targets
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>
-rw-r--r--gcc/testsuite/g++.dg/vect/pr102788.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/vect/pr102788.cc b/gcc/testsuite/g++.dg/vect/pr102788.cc
index fa9c366..032fa29 100644
--- a/gcc/testsuite/g++.dg/vect/pr102788.cc
+++ b/gcc/testsuite/g++.dg/vect/pr102788.cc
@@ -1,4 +1,3 @@
-// { dg-do run }
// { dg-additional-options "-O3" }
unsigned long long int var_4 = 235;