]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: XFAIL test in pr109393.c for ilp32 targets [PR116845]
authorkelefth <konstantinos.eleftheriou@vrull.eu>
Tue, 4 Feb 2025 10:49:03 +0000 (11:49 +0100)
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>
Tue, 4 Feb 2025 13:25:22 +0000 (14:25 +0100)
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.

gcc/testsuite/gcc.dg/pr109393.c

index b2dd5a0b645c1a3bdc0ed1f0b81eee3bc3fbcf71..108d30913894fb17ea6bb862c9f5aea72f7920f3 100644 (file)
@@ -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 } } } } */