From: Richard Sandiford Date: Tue, 22 Apr 2025 13:19:51 +0000 (+0100) Subject: testsuite: XFAIL predcom-8.c on aarch64 [PR118407] X-Git-Tag: releases/gcc-15.1.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d88bbce5757db4e268122805957a932786b46fc2;p=thirdparty%2Fgcc.git testsuite: XFAIL predcom-8.c on aarch64 [PR118407] gcc.dg/tree-ssa/predcom-8.c fails on aarch64 for the reasons discussed in the PR trail. The fix didn't make it into GCC 15, so this patch XFAILs the test instead. Other targets might benefit from an XFAIL too, but people who work on those targets would be better placed to know the right conditions. gcc/testsuite/ PR tree-optimization/118407 * gcc.dg/tree-ssa/predcom-8.c: Add XFAIL for aarch64. --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c b/gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c index dcddf573145..22e4882c363 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" } } */ +/* { dg-final { scan-tree-dump-not "Invalid sum" "pcom" { xfail aarch64*-*-* } } } */