[gcc r16-9377] 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:548a73b86581f3e5e70a51ac700c8d78c5c318b1

commit r16-9377-g548a73b86581f3e5e70a51ac700c8d78c5c318b1
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 d2f0ae0df6f0..30400a3f9687 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 { arm*-*-* && { hard_float && { ! arm_mve } } } } } } */
+/* { dg-final { scan-tree-dump-not "Invalid sum" "pcom" { xfail { 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.