blob: aedbae43336c6fed594472a0f46219899bcd71bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-require-effective-target vect_int } */
int ca[100];
__attribute__ ((noinline))
void foo (int n)
{
unsigned int i;
for (i = 0; i < n; i++)
ca[i] = 2;
}
int main (void)
{
return 0;
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
|