[committed] testsuite: Fix up pr106243* tests on i686-linux [PR106243]
Commit Message
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.
Jakub
@@ -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))))
@@ -1,6 +1,6 @@
/* PR tree-optimization/106243 */
/* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi" } */
#include "pr106243.c"