From: kelefth Date: Tue, 4 Feb 2025 10:49:03 +0000 (+0100) Subject: testsuite: XFAIL test in pr109393.c for ilp32 targets [PR116845] X-Git-Tag: basepoints/gcc-16~2200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf1da77593f8851c6b78d22ebbc1124bbaf1de5;p=thirdparty%2Fgcc.git testsuite: XFAIL test in pr109393.c for ilp32 targets [PR116845] The match.pd canonicalization that this testcase checks for, is not applied on ilp32 targets. This XFAILs the test on ilp32 targets. PR testsuite/116845 gcc/testsuite/ChangeLog: * gcc.dg/pr109393.c: XFAIL on ilp32 targets. --- diff --git a/gcc/testsuite/gcc.dg/pr109393.c b/gcc/testsuite/gcc.dg/pr109393.c index b2dd5a0b645..108d3091389 100644 --- a/gcc/testsuite/gcc.dg/pr109393.c +++ b/gcc/testsuite/gcc.dg/pr109393.c @@ -20,4 +20,5 @@ int bar(int *a, int j) return (&a[j + 1] - 2) == &a[k]; } -/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ +/* The pattern is not applied on ilp32 targets (PR116845). */ +/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" { xfail { ilp32 } } } } */