* [committed] testsuite: Fix up pr104992* tests on i686-linux [PR104992]
@ 2022-08-11 8:32 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-08-11 8:32 UTC (permalink / raw)
To: gcc-patches
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 and also because dg-options in the latter
test has been ignored due to missing space, so even -O2
wasn't passed at all.
Tested with
make check-gcc check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m32/-mno-sse,-m64\} dg.exp=pr104992*'
on x86_64-linux, committed to trunk as obvious.
2022-08-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/104992
* gcc.dg/pr104992.c: Add -Wno-psabi to dg-options.
* g++.dg/pr104992-1.C: Likewise. Add space between " and } in
dg-options.
--- gcc/testsuite/gcc.dg/pr104992.c.jj 2022-08-10 09:06:52.955213523 +0200
+++ gcc/testsuite/gcc.dg/pr104992.c 2022-08-11 10:07:52.047940115 +0200
@@ -1,6 +1,6 @@
/* PR tree-optimization/104992 */
/* { 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/g++.dg/pr104992-1.C.jj 2022-08-10 09:06:52.922213953 +0200
+++ gcc/testsuite/g++.dg/pr104992-1.C 2022-08-11 10:11:16.585203417 +0200
@@ -1,6 +1,6 @@
/* PR tree-optimization/104992 */
/* { dg-do run } */
-/* { dg-options "-O2"} */
+/* { dg-options "-O2 -Wno-psabi" } */
#include "../gcc.dg/pr104992.c"
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-12 9:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 8:32 [committed] testsuite: Fix up pr104992* tests on i686-linux [PR104992] 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).