public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] testsuite: Add -Wno-psabi to pr113126.c test
@ 2024-03-26 10:28 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-03-26 10:28 UTC (permalink / raw)
  To: gcc-patches

Hi!

I've missed
FAIL: gcc.dg/torture/pr113126.c   -O0  (test for excess errors)
etc. regressions on i686-linux since January.  The problem is obvious
Excess errors:
.../gcc/testsuite/gcc.dg/torture/pr113126.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
and I've added -Wno-psabi to dg-additional-options to fix that up.

Tested on x86_64-linux with
make check-gcc RUNTESTFLAGS='--target_board=unix\{-m32/-mno-sse/-mno-mmx,-m32,-m64\} dg-torture.exp=pr113126.c'
and committed to trunk as obvious.

2024-03-26  Jakub Jelinek  <jakub@redhat.com>

	* gcc.dg/tort-re/pr113126.c: Add -Wno-psabi as dg-additional-options.

--- gcc/testsuite/gcc.dg/torture/pr113126.c.jj	2024-01-12 10:07:58.328849767 +0100
+++ gcc/testsuite/gcc.dg/torture/pr113126.c	2024-03-26 11:24:04.055734511 +0100
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-additional-options "-Wno-psabi" } */
 
 typedef float __attribute__((__vector_size__ (8))) F;
 typedef double __attribute__((__vector_size__ (16))) G;

	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-26 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-26 10:28 [committed] testsuite: Add -Wno-psabi to pr113126.c test 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).