On Tue, Mar 08, 2016 at 11:16:28PM +0100, Andreas Schwab wrote: > Marek Polacek <pola...@redhat.com> writes: > > > diff --git gcc/testsuite/gcc.dg/pr70050.c gcc/testsuite/gcc.dg/pr70050.c > > index e69de29..610456f 100644 > > --- gcc/testsuite/gcc.dg/pr70050.c > > +++ gcc/testsuite/gcc.dg/pr70050.c > > @@ -0,0 +1,11 @@ > > +/* PR middle-end/70025 */ > > +/* { dg-do compile } */ > > +/* { dg-options "-Wno-psabi" } */ > > + > > +typedef int v8si __attribute__ ((vector_size (32))); > > + > > +v8si > > +foo (v8si v) > > On powerpc: > > FAIL: gcc.dg/pr70050.c (test for excess errors) > Excess errors: > /daten/gcc/gcc-20160307/gcc/testsuite/gcc.dg/pr70050.c:9:1: warning: GCC > vector returned by reference: non-standard ABI extension with no > compatibility guarantee > /daten/gcc/gcc-20160307/gcc/testsuite/gcc.dg/pr70050.c:8:1: warning: GCC > vector passed by reference: non-standard ABI extension with no compatibility > guarantee
Fixed thusly, committed as obvious: 2016-03-09 Jakub Jelinek <ja...@redhat.com> PR target/67278 * gcc.dg/simd-8.c: Add -w -Wno-psabi to dg-options. PR middle-end/70050 * gcc.dg/pr70050.c: Add -w to dg-options. Fix up PR number in testcase comment. --- gcc/testsuite/gcc.dg/simd-8.c.jj 2016-03-02 14:07:58.000000000 +0100 +++ gcc/testsuite/gcc.dg/simd-8.c 2016-03-09 10:11:15.726261498 +0100 @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-w -Wno-psabi" } */ #if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8 typedef long double a __attribute__((vector_size (32))); --- gcc/testsuite/gcc.dg/pr70050.c.jj 2016-03-03 15:28:40.000000000 +0100 +++ gcc/testsuite/gcc.dg/pr70050.c 2016-03-09 10:10:17.591060300 +0100 @@ -1,6 +1,6 @@ -/* PR middle-end/70025 */ +/* PR middle-end/70050 */ /* { dg-do compile } */ -/* { dg-options "-Wno-psabi" } */ +/* { dg-options "-w -Wno-psabi" } */ typedef int v8si __attribute__ ((vector_size (32))); Jakub