OSDN Git Service

* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / altivec-12.C
1 /* Test vec_dst* functions with float pointer as first argument.  */
2 /* { dg-do compile { target powerpc*-*-* } } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-maltivec" } */
5
6 #include <altivec.h>
7
8 extern int i;
9 extern float *fp;
10 extern vector float vf;
11
12 void
13 foo ()
14 {
15   vec_dst (fp, i, 1);
16   vec_dstst (fp, i, 1);
17   vec_dststt (fp, i, 1);
18   vec_dstt (fp, i, 1);
19 }