1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 int a[16*100];
5 int e;
foo(void)6 void foo(void)
7 {
8 int i;
9 for(i = 0;i<16*100;i++)
10 e += a[i];
11 }
12
13 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
14
15