public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4735] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
@ 2021-10-27 7:44 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-10-27 7:44 UTC (permalink / raw)
To: gcc-cvs
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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-27 7:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 7:44 [gcc r12-4735] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] Jakub Jelinek
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).