The gcc.dg/tree-ssa/forwprop-43.c test currently FAILs on 32 and 64-bit
SPARC:
FAIL: gcc.dg/tree-ssa/forwprop-43.c scan-tree-dump-times forwprop1
"VEC_PERM_EXPR" 10
The dump has no reference to VEC_PERM_EXPR, so the scan needs to guarded
by vect_perm.
Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.
Ok for trunk?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2026-01-05 Rainer Orth <[email protected]>
gcc/testsuite:
PR tree-optimization/122679
* gcc.dg/tree-ssa/forwprop-43.c (scan-tree-dump-times): Require
vect_perm.
# HG changeset patch
# Parent ed1612ee8f9eb8c3fc53fd4d98fa4a03a81700c9
testsuite: Require vect_perm in gcc.dg/tree-ssa/forwprop-43.c [PR122679]
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
--- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
@@ -168,4 +168,4 @@ foo10 (int32x4_t x, int32_t y)
}
-/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 10 "forwprop1" } } */
+/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 10 "forwprop1" { target vect_perm } } } */