Hi!

The following testcases FAIL on i686-linux due to excess diagnostics
for -Wpsabi.

Tested on x86_64-linux with
make check-gcc 
RUNTESTFLAGS='--target_board=unix\{-m32/-msse2,-m32/-mno-mmx/-mno-sse,-m64\} 
i386.exp=pr107271.c btf.exp=btf-function-3.c'
and committed to trunk as obvious.

2022-10-20  Jakub Jelinek  <ja...@redhat.com>

        * gcc.target/i386/pr107271.c: Add -Wno-psabi to dg-options.
        * gcc.dg/debug/btf/btf-function-3.c: Likewise.

--- gcc/testsuite/gcc.target/i386/pr107271.c.jj 2022-10-19 11:20:54.633878743 
+0200
+++ gcc/testsuite/gcc.target/i386/pr107271.c    2022-10-20 13:52:47.000966060 
+0200
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O0" } */
+/* { dg-options "-O0 -Wno-psabi" } */
 
 typedef int __attribute__((__vector_size__ (16))) V;
 
--- gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c.jj  2021-07-02 
21:55:48.696990745 +0200
+++ gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c     2022-10-20 
13:17:58.793270607 +0200
@@ -7,7 +7,7 @@
    has type_id=0.  */
 
 /* { dg-do compile } */
-/* { dg-options "-O0 -gbtf -dA" } */
+/* { dg-options "-O0 -gbtf -dA -Wno-psabi" } */
 
 /* { dg-final { scan-assembler-times "\[\t \]0xd000003\[\t 
\]+\[^\n\]*btt_info" 1 } } */
 /* { dg-final { scan-assembler-times "farg_name" 3 } } */

        Jakub

Reply via email to