index.html (3.10): Add note about mips atomicity.h.
[official-gcc.git] / gcc / testsuite / gcc.dg / altivec-8.c
blob2d6803a47ee67c2dbe94d76af5311720f99305ac
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-options "-maltivec" } */
7 #include <altivec.h>
9 vector signed short *hannah;
11 int
12 main ()
14 *hannah++ = __builtin_altivec_vspltish (5);
15 *hannah++ = __builtin_altivec_vspltish (6);
17 return 0;