]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: XFAIL predcom-8.c on aarch64 [PR118407]
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 22 Apr 2025 13:19:51 +0000 (14:19 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 22 Apr 2025 13:19:51 +0000 (14:19 +0100)
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.

gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c

index dcddf57314580c061792dc91bf0f0edb915bdf33..22e4882c363621a0c0ac2535c785684b9b6662ee 100644 (file)
@@ -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*-*-* } } } */