public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-4735] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
Date: Wed, 27 Oct 2021 07:44:02 +0000 (GMT)	[thread overview]
Message-ID: <20211027074402.BBD033858C27@sourceware.org> (raw)

https://gcc.gnu.org/g:4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e

commit r12-4735-g4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Oct 27 09:41:38 2021 +0200

    testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
    
    The testcase FAILs on i686-linux due to:
    FAIL: gcc.dg/pr102897.c (test for excess errors)
    Excess errors:
    .../gcc/gcc/testsuite/gcc.dg/pr102897.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
    .../gcc/gcc/testsuite/gcc.dg/pr102897.c:10:10: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi]
    Fixed by adding -Wno-psabi.
    
    2021-10-27  Jakub Jelinek  <jakub@redhat.com>
    
            PR tree-optimization/102897
            * gcc.dg/pr102897.c: Add -Wno-psabi to dg-options.

Diff:
---
 gcc/testsuite/gcc.dg/pr102897.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr102897.c b/gcc/testsuite/gcc.dg/pr102897.c
index bb14dccc92f..8e0d25ee24c 100644
--- a/gcc/testsuite/gcc.dg/pr102897.c
+++ b/gcc/testsuite/gcc.dg/pr102897.c
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* Specify C99 to avoid the warning/error on compound literals.  */
-/* { dg-options "-O1 -std=c99" } */
+/* { dg-options "-O1 -std=c99 -Wno-psabi" } */
 
 /* Verify that there is no ICE.  */


                 reply	other threads:[~2021-10-27  7:44 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=20211027074402.BBD033858C27@sourceware.org \
    --to=jakub@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).