[gcc r16-3506] Testsuite: Don't test vector-compare-1.C on strict alignment targets
Andrew Pinski
pinskia@gcc.gnu.org
Tue Sep 2 00:26:23 GMT 2025
https://gcc.gnu.org/g:db195c5381ceb2570f8a1798fd82996f7ba8f82e
commit r16-3506-gdb195c5381ceb2570f8a1798fd82996f7ba8f82e
Author: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Date: Mon Sep 1 17:18:06 2025 -0700
Testsuite: Don't test vector-compare-1.C on strict alignment targets
This testcase will fail on strict alignment targets due to
the requirement of doing a possible unaligned load. This fixes
that.
Note this testcase still fails on arm (and maybe riscv) targets while
having unaligned loads, they have slow ones.
Pushed as obvious after testing on x86_64-linux-gnu to make sure it
is still testing.
gcc/testsuite/ChangeLog:
* g++.dg/tree-ssa/vector-compare-1.C: Restrict to
non_strict_align targets.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diff:
---
gcc/testsuite/g++.dg/tree-ssa/vector-compare-1.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/tree-ssa/vector-compare-1.C b/gcc/testsuite/g++.dg/tree-ssa/vector-compare-1.C
index d9b2bc2533ed..e3f5421aba43 100644
--- a/gcc/testsuite/g++.dg/tree-ssa/vector-compare-1.C
+++ b/gcc/testsuite/g++.dg/tree-ssa/vector-compare-1.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++11 } }
+// { dg-do compile { target { c++11 && non_strict_align } } }
// { dg-options "-O2 -fdump-tree-optimized" }
// PR tree-optimization/116651
More information about the Gcc-cvs
mailing list