Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / vect / vect-9.c
blob76638d0df76d58bb5c819950e7b11b506f2466be
1 /* { dg-require-effective-target vect_int } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 #define N 16
8 int main1 ()
10 int i;
11 short sb[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
12 int ia[N];
14 /* Not vetorizable yet (type cast). */
15 for (i = 0; i < N; i++)
17 ia[i] = (int) sb[i];
20 /* check results: */
21 for (i = 0; i < N; i++)
23 if (ia[i] != (int) sb[i])
24 abort ();
27 return 0;
30 int main (void)
32 check_vect ();
34 return main1 ();
37 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
38 /* { dg-final { cleanup-tree-dump "vect" } } */