[gcc r15-11413] testsuite: use arm_neon as xfail condition [PR118407]

Torbjorn Svensson via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:dda27f680737ec981719ae8eaa20d816f1adeb11

commit r15-11413-gdda27f680737ec981719ae8eaa20d816f1adeb11
Author: Torbjörn SVENSSON <[email protected]>
Date:   Wed Jul 22 12:35:27 2026 +0200

    testsuite: use arm_neon as xfail condition [PR118407]
    
    Before r17-2558-g383854a7016ad2, the test predcom-8.c test was only
    failing for -march=armv7ve+neon and -march=armv7ve+simd. After, there
    are xpass for Cortex-M targets. Correct xfail condition to arm_neon to
    rectify my mistake.
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/118407
            * gcc.dg/tree-ssa/predcom-8.c: Use arm_neon as xfail condition.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>
    (cherry picked from commit 28838a51e4d9cc4b9df79b7c59ffc59a36deeff4)

Diff:
---
 gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c b/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c
index 9a7275f2e6ca..6b1bbfa396e7 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c
@@ -10,4 +10,4 @@ int is_sorted(int *a, int n)
 }
 
 /* { dg-final { scan-tree-dump "Executing predictive commoning without unrolling" "pcom" } } */
-/* { dg-final { scan-tree-dump-not "Invalid sum" "pcom" { xfail { aarch64*-*-* || { arm*-*-* && { hard_float && { ! arm_mve } } } } } } } */
+/* { dg-final { scan-tree-dump-not "Invalid sum" "pcom" { xfail { aarch64*-*-* || { arm*-*-* && arm_neon } } } } } */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.