https://gcc.gnu.org/g:183286368daf1d28214bf710afed021884e63491

commit r17-5757-g183286368daf1d28214bf710afed021884e63491
Author: John David Anglin <[email protected]>
Date:   Fri Oct 30 09:11:26 2026 -0400

    testsuite: xfail gcc.dg/torture/pr127377.c on big-endian
    
    The test case gcc.dg/torture/pr127377.c successfully compiles on all
    optimization levels but fails at runtime with an abort on big-endian
    targets, returning 0x70.  This runtime discrepancy tracks closely with
    the register tracking/layout boundaries documented under PR127142.
    
    This patch adds an explicit xfail marker for big-endian targets to
    prevent noisy test regressions.
    
    2026-10-28  John David Anglin  <[email protected]>
    
    gcc/testsuite/ChangeLog:
    
            PR rtl-optimization/127142
            PR testsuite/127501
            * gcc.dg/torture/pr127377.c: Add dg-xfail-run-if for big-endian
            targets.

Diff:
---
 gcc/testsuite/gcc.dg/torture/pr127377.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/torture/pr127377.c 
b/gcc/testsuite/gcc.dg/torture/pr127377.c
index 13fb8f25ca7d..1442b603d646 100644
--- a/gcc/testsuite/gcc.dg/torture/pr127377.c
+++ b/gcc/testsuite/gcc.dg/torture/pr127377.c
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-xfail-run-if "PR127142 test fails on big-endian" { be } } */
 /* { dg-require-effective-target int32plus } */
 
 __attribute__((noipa))

Reply via email to