summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr63800.c
blob: 19546c25f0c53eed2919cfb34c8f9f0c7aa38404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile } */

int a, b, c, d[2];

int
fn1 ()
{
  int f = 0;
  d[1] = b = 1; 
  for (; b; b--)
    {
      for (c = 0; c < 2; c++)
	{
	  d[b] & 1 & b;
	  if (d[0])
	    f = d[b] * a;
	  if (f)
	    return 0;
	}
      d[b] && (d[0] = 0);
    }
  return 0;
}