From: "Kewen.Lin" <linkw@linux.ibm.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [committed] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
Date: Wed, 27 Oct 2021 17:24:43 +0800 [thread overview]
Message-ID: <7f155dff-6eab-06d1-e5a8-8b8b75d2386d@linux.ibm.com> (raw)
In-Reply-To: <20211027075125.GF304296@tucnak>
Hi Jakub,
on 2021/10/27 下午3:51, Jakub Jelinek wrote:
> 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.
>
Thanks for fixing this up!
BR,
Kewen
> 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
>
prev parent reply other threads:[~2021-10-27 9:24 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 ` [committed] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] Jakub Jelinek
2021-10-27 9:24 ` Kewen.Lin [this message]
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=7f155dff-6eab-06d1-e5a8-8b8b75d2386d@linux.ibm.com \
--to=linkw@linux.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.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).