OSDN Git Service

* c-lex.c (interpret_float): Give a pedwarn rather than a warning
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / altivec-8.c
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-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
6 /* { dg-options "-maltivec" } */
7
8 #include <altivec.h>
9
10 vector signed short *hannah;
11
12 int
13 main ()
14 {
15   *hannah++ = __builtin_altivec_vspltish (5);
16   *hannah++ = __builtin_altivec_vspltish (6);
17
18   return 0;
19 }