1 /* Origin: Aldy Hernandez <aldyh@redhat.com> */ 2 /* Test rs6000_legitimate_address. PRE_INC should be invalid. */ 3 4 /* { dg-do compile { target powerpc-*-* } } */ 5 /* { dg-options "-maltivec" } */ 6 7 #include <altivec.h> 8 9 vector signed short *hannah; 10 11 int main()12main () 13 { 14 *hannah++ = __builtin_altivec_vspltish (5); 15 *hannah++ = __builtin_altivec_vspltish (6); 16 17 return 0; 18 } 19