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

char bigDone[260];
int runningOrder[260];

int
main()
{
  int i;
  for (i = 0; i <= 255; i++) {
      bigDone [i] = ((char)0);
      runningOrder[i] = i;
  }
  return 0;
}

/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */