From 61701b20fa268c93266ba8c18d9f209bb4317400 Mon Sep 17 00:00:00 2001 From: Patrick O'Neill Date: Thu, 2 Nov 2023 14:34:48 -0700 Subject: [PATCH] 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 --- gcc/testsuite/g++.dg/vect/pr102788.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/vect/pr102788.cc b/gcc/testsuite/g++.dg/vect/pr102788.cc index fa9c366fe565..032fa29fc72f 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; -- 2.47.2