* [PATCH] testsuite: fixup pr97521.c and pr96713.c on i686-*
@ 2022-03-17 9:41 Marc Poulhiès
2022-03-28 14:45 ` Marc Poulhiès
0 siblings, 1 reply; 3+ messages in thread
From: Marc Poulhiès @ 2022-03-17 9:41 UTC (permalink / raw)
To: gcc-patches
On targets that do not have MXX/SSE enabled by default, pr97521
and pr96713 fail because they emit warnings:
pr97521.c:12:1: warning: MMX vector return without MMX enabled
changes the ABI [-Wpsabi]
pr97521.c:11:1: note: the ABI for passing parameters with
16-byte alignment has changed in GCC 4.6
pr97521.c:11:1: warning: SSE vector argument without SSE enabled
changes the ABI [-Wpsabi]
Add -Wno-abi to dg-options.
Ok for master?
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr97521.c: Add -Wno-psabi to dg-options.
* gcc.dg/analyzer/pr96713.c: Likewise.
---
gcc/testsuite/gcc.dg/analyzer/pr96713.c | 1 +
gcc/testsuite/gcc.target/i386/pr97521.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/analyzer/pr96713.c b/gcc/testsuite/gcc.dg/analyzer/pr96713.c
index fe9cafd73f1..12170bd4c64 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pr96713.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pr96713.c
@@ -1,3 +1,4 @@
+/* { dg-options "-Wno-psabi" } */
typedef int __attribute__ ((vector_size (8))) V;
void
diff --git a/gcc/testsuite/gcc.target/i386/pr97521.c b/gcc/testsuite/gcc.target/i386/pr97521.c
index 804ffd61e13..5970bcff383 100644
--- a/gcc/testsuite/gcc.target/i386/pr97521.c
+++ b/gcc/testsuite/gcc.target/i386/pr97521.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O -mno-sse2" } */
+/* { dg-options "-O -mno-sse2 -Wno-psabi" } */
typedef unsigned char __attribute__ ((__vector_size__ (8))) V;
typedef unsigned long long __attribute__ ((__vector_size__ (16))) W;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: fixup pr97521.c and pr96713.c on i686-*
2022-03-17 9:41 [PATCH] testsuite: fixup pr97521.c and pr96713.c on i686-* Marc Poulhiès
@ 2022-03-28 14:45 ` Marc Poulhiès
2022-03-29 7:09 ` Richard Biener
0 siblings, 1 reply; 3+ messages in thread
From: Marc Poulhiès @ 2022-03-28 14:45 UTC (permalink / raw)
To: gcc-patches
Marc Poulhiès <poulhies@adacore.com> writes:
> On targets that do not have MXX/SSE enabled by default, pr97521
> and pr96713 fail because they emit warnings:
>
> pr97521.c:12:1: warning: MMX vector return without MMX enabled
> changes the ABI [-Wpsabi]
> pr97521.c:11:1: note: the ABI for passing parameters with
> 16-byte alignment has changed in GCC 4.6
> pr97521.c:11:1: warning: SSE vector argument without SSE enabled
> changes the ABI [-Wpsabi]
>
> Add -Wno-abi to dg-options.
>
> Ok for master?
ping ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: fixup pr97521.c and pr96713.c on i686-*
2022-03-28 14:45 ` Marc Poulhiès
@ 2022-03-29 7:09 ` Richard Biener
0 siblings, 0 replies; 3+ messages in thread
From: Richard Biener @ 2022-03-29 7:09 UTC (permalink / raw)
To: Marc Poulhiès; +Cc: GCC Patches
On Mon, Mar 28, 2022 at 4:46 PM Marc Poulhiès via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Marc Poulhiès <poulhies@adacore.com> writes:
>
> > On targets that do not have MXX/SSE enabled by default, pr97521
> > and pr96713 fail because they emit warnings:
> >
> > pr97521.c:12:1: warning: MMX vector return without MMX enabled
> > changes the ABI [-Wpsabi]
> > pr97521.c:11:1: note: the ABI for passing parameters with
> > 16-byte alignment has changed in GCC 4.6
> > pr97521.c:11:1: warning: SSE vector argument without SSE enabled
> > changes the ABI [-Wpsabi]
> >
> > Add -Wno-abi to dg-options.
> >
> > Ok for master?
>
> ping ?
OK
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-29 7:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 9:41 [PATCH] testsuite: fixup pr97521.c and pr96713.c on i686-* Marc Poulhiès
2022-03-28 14:45 ` Marc Poulhiès
2022-03-29 7:09 ` Richard Biener
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).