Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / vect / vect-39.c
blob68f088e232a693a541f1655ee90cefa8796561e3
1 /* { dg-require-effective-target vect_int } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 #define N 16
8 int ia[N];
10 int main1 (int n)
12 unsigned int i;
14 /* Loop bound is int and IV is unsigned int. */
15 for (i = 0; i < n; i++)
17 ia[i] = 2;
20 /* check results: */
21 for (i = 0; i < n; i++)
23 if (ia[i] != 2)
24 abort();
27 return 0;
30 int main (void)
32 check_vect ();
34 return main1 (N);
37 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
38 /* { dg-final { cleanup-tree-dump "vect" } } */