The new gcc.target/i386/pr125958.c test FAILs on 32-bit Solaris/x86:

FAIL: gcc.target/i386/pr125958.c check-function-bodies vcn_init_session_buf_fc

The test needs -mno-stackrealign, the Linux default.

Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu, both 32 and 64-bit.

Committed to trunk.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2026-06-25  Rainer Orth  <[email protected]>

        gcc/testsuite:
        * gcc.target/i386/pr125958.c (dg-options): Add -mno-stackrealign.

diff --git a/gcc/testsuite/gcc.target/i386/pr125958.c b/gcc/testsuite/gcc.target/i386/pr125958.c
--- a/gcc/testsuite/gcc.target/i386/pr125958.c
+++ b/gcc/testsuite/gcc.target/i386/pr125958.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target fpic } } */
-/* { dg-options "-O2 -fno-pic -march=x86-64" } */
+/* { dg-options "-O2 -fno-pic -march=x86-64 -mno-stackrealign" } */
 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc').  */
 /* { dg-final { check-function-bodies "**" "" "" { target *-*-* } {^\t?\.} } } */
 

Reply via email to