https://gcc.gnu.org/g:adf1da77593f8851c6b78d22ebbc1124bbaf1de5

commit r15-7353-gadf1da77593f8851c6b78d22ebbc1124bbaf1de5
Author: kelefth <konstantinos.elefther...@vrull.eu>
Date:   Tue Feb 4 11:49:03 2025 +0100

    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:
---
 gcc/testsuite/gcc.dg/pr109393.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr109393.c b/gcc/testsuite/gcc.dg/pr109393.c
index b2dd5a0b645c..108d30913894 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 
} } } } */

Reply via email to