Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-99.c
blobaedbae43336c6fed594472a0f46219899bcd71bd
1 /* { dg-require-effective-target vect_int } */
3 int ca[100];
5 __attribute__ ((noinline))
6 void foo (int n)
8 unsigned int i;
10 for (i = 0; i < n; i++)
11 ca[i] = 2;
14 int main (void)
16 return 0;
19 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
20 /* { dg-final { cleanup-tree-dump "vect" } } */