Tested on hppa64-hp-hpux11.11.  Okay?

Dave
---

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 --git a/gcc/testsuite/gcc.dg/torture/pr127377.c 
b/gcc/testsuite/gcc.dg/torture/pr127377.c
index 13fb8f25ca7..1442b603d64 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))

Attachment: signature.asc
Description: PGP signature

Reply via email to