* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / altivec-8.c
blob661cce7622110b8ea1101d14d8461570cb4c60d4
1 /* Origin: Aldy Hernandez <aldyh@redhat.com> */
2 /* Test rs6000_legitimate_address. PRE_INC should be invalid. */
4 /* { dg-do compile { target powerpc*-*-* } } */
5 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
6 /* { dg-options "-maltivec" } */
8 #include <altivec.h>
10 vector signed short *hannah;
12 int
13 main ()
15 *hannah++ = __builtin_altivec_vspltish (5);
16 *hannah++ = __builtin_altivec_vspltish (6);
18 return 0;