[gcc r17-2416] testsuite: Fix gcc.target/i386/pr64731.c on 32-bit Solaris/x86

Rainer Orth via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:80e6aae1d5088f75def9ea0963a068dfbe0a833e

commit r17-2416-g80e6aae1d5088f75def9ea0963a068dfbe0a833e
Author: Rainer Orth <[email protected]>
Date:   Wed Jul 15 14:48:42 2026 +0200

    testsuite: Fix gcc.target/i386/pr64731.c on 32-bit Solaris/x86
    
    Between r17-2065 and r17-2094, the gcc.target/i386/pr64731.c test
    regressed on 32-bit Solaris/x86:
    
    FAIL: gcc.target/i386/pr64731.c scan-assembler-not movap[sd].*[er]sp
    
    The test needs -mno-stackrealign now.
    
    Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu (32 and 64-bit
    each).
    
    2026-07-14  Rainer Orth  <[email protected]>
    
            gcc/testsuite:
            * gcc.target/i386/pr64731.c (dg-options): Add -mno-stackrealign.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr64731.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr64731.c b/gcc/testsuite/gcc.target/i386/pr64731.c
index dea5141ad24b..3509fc859d6e 100644
--- a/gcc/testsuite/gcc.target/i386/pr64731.c
+++ b/gcc/testsuite/gcc.target/i386/pr64731.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx" } */
+/* { dg-options "-O2 -mno-avx -mno-stackrealign" } */
 
 typedef double double4 __attribute__((vector_size(32)));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.