Richard Biener <rguent...@suse.de> writes: > Index: gcc/testsuite/gcc.dg/simd-7.c > =================================================================== > --- gcc/testsuite/gcc.dg/simd-7.c (revision 0) > +++ gcc/testsuite/gcc.dg/simd-7.c (working copy) > @@ -0,0 +1,17 @@ > +/* { dg-do compile } */ > + > +#if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8 > +typedef long double a __attribute__((vector_size (16))); > + > +a __attribute__((noinline)) > +sum (a first, a second) > +{ > + return first + second; > +} > + > +a > +foo (a x, a y, a z) > +{ > + return sum (x, y) + z; > +} > +#endif
On powerpc -m32: FAIL: gcc.dg/simd-7.c (test for excess errors) Excess errors: /daten/gcc/gcc-20160307/gcc/testsuite/gcc.dg/simd-7.c:8:1: warning: GCC vector returned by reference: non-standard ABI extension with no compatibility guarantee /daten/gcc/gcc-20160307/gcc/testsuite/gcc.dg/simd-7.c:7:1: warning: GCC vector passed by reference: non-standard ABI extension with no compatibility guarantee Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."