public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [committed] testsuite: Fix up pr106243* tests on i686-linux [PR106243]
Date: Thu, 11 Aug 2022 10:34:00 +0200	[thread overview]
Message-ID: <YvS+9il8YKRX8TFj@tucnak> (raw)

Hi!

These 2 tests were FAILing on i686-linux or e.g. with
--target_board=unix/-m32/-mno-sse on x86_64-linux due to
-Wpsabi warnings.

Tested with
make check-gcc check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m32/-mno-sse,-m64\} dg.exp=pr106243*'
on x86_64-linux, committed to trunk as obvious.

2022-08-11  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/106243
	* gcc.dg/pr106243.c: Add -Wno-psabi to dg-options.
	* gcc.dg/pr106243-1.c: Likewise.

--- gcc/testsuite/gcc.dg/pr106243.c.jj	2022-08-10 09:06:52.955213523 +0200
+++ gcc/testsuite/gcc.dg/pr106243.c	2022-08-11 10:13:52.965111058 +0200
@@ -1,6 +1,6 @@
 /* PR tree-optimization/106243 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-options "-O2 -Wno-psabi -fdump-tree-optimized" } */
 
 #define vector __attribute__((vector_size(4*sizeof(int))))
 
--- gcc/testsuite/gcc.dg/pr106243-1.c.jj	2022-08-10 09:06:52.955213523 +0200
+++ gcc/testsuite/gcc.dg/pr106243-1.c	2022-08-11 10:14:06.381931542 +0200
@@ -1,6 +1,6 @@
 /* PR tree-optimization/106243 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi" } */
 
 #include "pr106243.c"
 

	Jakub


                 reply	other threads:[~2022-08-12  9:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=YvS+9il8YKRX8TFj@tucnak \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /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).