Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / graphite / vect-pr43423.c
blob5589167fbd3802588455f1866aa266386d4352b8
1 /* { dg-require-effective-target vect_int } */
3 int a[100], b[100], c[100];
5 void foo(int n, int mid)
7 int i;
8 for(i=0; i<n; i++)
10 if (i < mid)
11 a[i] = a[i] + b[i];
12 else
13 a[i] = a[i] + c[i];
17 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
18 /* { dg-final { cleanup-tree-dump "vect" } } */