Alexandre Oliva <aol...@redhat.com> writes: > diff --git a/gcc/testsuite/gcc.dg/pr69634.c b/gcc/testsuite/gcc.dg/pr69634.c > new file mode 100644 > index 0000000..837bd57 > --- /dev/null > +++ b/gcc/testsuite/gcc.dg/pr69634.c > @@ -0,0 +1,22 @@ > +/* { dg-do compile } */ > +/* { dg-options "-O2 -fno-dce -fschedule-insns -fno-tree-vrp > -fcompare-debug" } */ > +/* { dg-additional-options "-Wno-psabi -mno-sse" { target i?86-*-* > x86_64-*-* } } */ > +/* { dg-additional-options "-m32" { target x86_64-*-* } } */ > + > +typedef unsigned short u16; > +typedef short v16u16 __attribute__ ((vector_size (16))); > +typedef unsigned v16u32 __attribute__ ((vector_size (16))); > +typedef unsigned long long v16u64 __attribute__ ((vector_size (16))); > + > +u16 > +foo(u16 u16_1, v16u16 v16u16_0, v16u32 v16u64_0, v16u16 v16u16_1, v16u32 > v16u32_1, v16u64 v16u64_1)
On powerpc -m32: FAIL: gcc.dg/pr69634.c (test for excess errors) Excess errors: /daten/gcc/gcc-20160307/gcc/testsuite/gcc.dg/pr69634.c:11: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."