From: Jakub Jelinek <jakub@redhat.com>
To: "Kewen.Lin" <linkw@linux.ibm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [committed] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
Date: Wed, 27 Oct 2021 09:51:25 +0200 [thread overview]
Message-ID: <20211027075125.GF304296@tucnak> (raw)
In-Reply-To: <96541e9b-46ff-e4a1-e60c-1d035f219560@linux.ibm.com>
On Tue, Oct 26, 2021 at 11:40:01AM +0800, Kewen.Lin via Gcc-patches wrote:
> gcc/testsuite/ChangeLog:
>
> * gcc.dg/pr102897.c: New test.
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.
Tested on x86_64-linux and i686-linux, committed to trunk as obvious.
2021-10-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/pr102897.c: Add -Wno-psabi to dg-options.
--- gcc/testsuite/gcc.dg/pr102897.c.jj 2021-10-27 09:00:28.848276246 +0200
+++ gcc/testsuite/gcc.dg/pr102897.c 2021-10-27 09:40:45.628296807 +0200
@@ -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. */
Jakub
next prev parent reply other threads:[~2021-10-27 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-26 3:40 [PATCH] forwprop: Remove incorrect assertion [PR102897] Kewen.Lin
2021-10-26 7:50 ` Richard Biener
2021-10-26 10:08 ` Kewen.Lin
2021-10-27 7:51 ` Jakub Jelinek [this message]
2021-10-27 9:24 ` [committed] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] Kewen.Lin
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=20211027075125.GF304296@tucnak \
--to=jakub@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=linkw@linux.ibm.com \
/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).