1/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ 2/* { dg-require-effective-target powerpc_altivec_ok } */ 3/* { dg-options "-maltivec" } */ 4 5#include <altivec.h> 6 7vector bool long vbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 8vector signed long vsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 9vector unsigned long vul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 10vector bool long *pvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 11vector signed long *pvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 12vector unsigned long *pvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 13 14void fvbl (vector bool long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 15void fvsl (vector signed long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 16void fvul (vector unsigned long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */ 17 18int main () 19{ 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; 24} 25