aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/altivec-types-4.C
blob: 212f67339390fec2f48df6175d86a6724e9b4515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile { target powerpc*-*-linux* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec -mno-warn-altivec-long" } */

/* These should not get warnings for 32-bit code when the warning is
   disabled.  */

__vector long vl;
__vector unsigned long vul;
__vector signed long vsl;
__vector __bool long int vbli;
__vector long int vli;
__vector unsigned long int vuli;
__vector signed long int vsli;