public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Rainer Orth <ro@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-8387] testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86
Date: Wed, 24 Jan 2024 12:53:36 +0000 (GMT)	[thread overview]
Message-ID: <20240124125336.5988F3858C42@sourceware.org> (raw)

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)

                 reply	other threads:[~2024-01-24 12:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240124125336.5988F3858C42@sourceware.org \
    --to=ro@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).