Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.target / powerpc / altivec-14.c
blobb5712225771a124a1f394a666241e30d5c1b9e9c
1 /* { dg-do compile { target powerpc-*-* } } */
2 /* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */
3 /* { dg-options "-maltivec" } */
5 #include <altivec.h>
7 vector bool long vbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
8 vector signed long vsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
9 vector unsigned long vul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
10 vector bool long *pvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
11 vector signed long *pvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
12 vector unsigned long *pvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
14 void fvbl (vector bool long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
15 void fvsl (vector signed long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
16 void fvul (vector unsigned long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
18 int main ()
20 vector bool long lvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
21 vector signed long lvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
22 vector unsigned long lvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
23 return 0;