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

int d;

void
foo ()
{
  int a = 0;
  unsigned char b;
  for (b = 1; b; b++)
    {
      d = a;
      a |= b;
    }
}

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