aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr53408.c
blob: 25c6dc7f523bd9c600d93130e56bb4f3f532f976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */

int a, b, c, d, e;
void
fn1 ()
{
  int f, g;
  char h = 0;
  b = 0;
  for (; b < 32; b++)
    {
      g = h > e ? h : h << 1;
      f = g && a ? 0 : 1;
      h = 1;
      for (; h > 0; h = h + 1)
	c = 0 < h | f;
    }
  if (h)
    d = 0;
}