]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
commit61701b20fa268c93266ba8c18d9f209bb4317400
treea829393bed1baa84f926b94417e04ff96edb3e9c
parent0f02e744ca1ea3256f912dbeb965ead3b5c9f66f
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>
gcc/testsuite/g++.dg/vect/pr102788.cc