aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr119057.c
blob: 582bb8ff86c33ab270f26309f48df24b91d17f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-additional-options "-fno-tree-vrp -fno-tree-forwprop" } */

int a, b, c, d;
unsigned e;
static void f(void)
{
  unsigned h;
  for (d = 0; d < 2; d++)
    b |= e;
  h = b;
  c |= h;
}
int main()
{
  for (; a; a++)
    f();
  return 0;
}