summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr23831.c
blob: dfa21ce0a6dc41d336fed7255ddee18316143785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */

void foo (void)
{
  static unsigned int bm[16];
  int j;
  for (j = 0; j < 16; j++)
    bm[j] = bm[j] * 8;
}

/* { dg-final { cleanup-tree-dump "vect" } } */