OSDN Git Service

* lib/target-supports.exp (check_effective_target_powerpc_fprs,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / altivec-types-4.C
1 /* { dg-do compile { target powerpc*-*-linux* } } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-maltivec -mno-warn-altivec-long" } */
5
6 /* These should not get warnings for 32-bit code when the warning is
7    disabled.  */
8
9 __vector long vl;
10 __vector unsigned long vul;
11 __vector signed long vsl;
12 __vector __bool long int vbli;
13 __vector long int vli;
14 __vector unsigned long int vuli;
15 __vector signed long int vsli;