Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / vect / vect-14.c
blobf6ebf3ffbecb5eaa177fe3ee0a7dcfec4458d980
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 int ia[N];
14 /* Not vectorizable yet (induction). */
15 for ( i = 0; i < N; i++) {
16 ia[i] = i;
19 /* check results: */
20 for (i = 0; i < N; i++)
22 if (ia[i] != i)
23 abort ();
26 return 0;
29 int main (void)
31 check_vect();
33 return main1 ();
36 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
37 /* { dg-final { cleanup-tree-dump "vect" } } */