public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8387] testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86
@ 2024-01-24 12:53 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2024-01-24 12:53 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f4a2478f171f9c0751261093e2c52a0efb4a57da

commit r14-8387-gf4a2478f171f9c0751261093e2c52a0efb4a57da
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Wed Jan 24 13:52:54 2024 +0100

    testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86
    
    gcc.target/i386/pr80833-1.c FAILs on 32-bit Solaris/x86 since 20220609:
    
    FAIL: gcc.target/i386/pr80833-1.c scan-assembler pextrd
    
    Unlike e.g. Linux/i686, 32-bit Solaris/x86 defaults to -mstackrealign,
    so this patch overrides that to match.
    
    Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu.
    
    2024-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
    
            gcc/testsuite:
            * gcc.target/i386/pr80833-1.c: Add -mno-stackrealign to dg-options.

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

diff --git a/gcc/testsuite/gcc.target/i386/pr80833-1.c b/gcc/testsuite/gcc.target/i386/pr80833-1.c
index 3f702fb0a54..d801e79b0ac 100644
--- a/gcc/testsuite/gcc.target/i386/pr80833-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr80833-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -msse4.1 -mtune=intel -mregparm=2" } */
+/* { dg-options "-O2 -msse4.1 -mtune=intel -mregparm=2 -mno-stackrealign" } */
 /* { dg-require-effective-target ia32 } */
 
 long long test (long long a)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-24 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 12:53 [gcc r14-8387] testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86 Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).