https://gcc.gnu.org/g:3756901bf0a31f7f783b4f06da5970c9b59752c6
commit r17-1828-g3756901bf0a31f7f783b4f06da5970c9b59752c6 Author: Rainer Orth <[email protected]> Date: Thu Jun 25 08:57:04 2026 +0200 testsuite: Fix gcc.target/i386/pr125958.c on 32-bit Solaris/x86 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. 2026-06-25 Rainer Orth <[email protected]> gcc/testsuite: * gcc.target/i386/pr125958.c (dg-options): Add -mno-stackrealign. Diff: --- gcc/testsuite/gcc.target/i386/pr125958.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr125958.c b/gcc/testsuite/gcc.target/i386/pr125958.c index c747cb97596c..6ee829aad249 100644 --- 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?\.} } } */
