summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr38529.c
blob: 496aa43f39b9ce98372c7b799ec84fa64aa9fb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */

float a[4];

void foo()
{
  int i, j;

  for (i = 0; i < 4; ++i)
    for (j = 0; j < 17; ++j)
      a[i] = 0;
}

/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect"  } } */
/* { dg-final { cleanup-tree-dump "vect" } } */