aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr66733-1.c
blob: cb6e87c23c0d3f643694222c8774aa7b6db6f554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* { dg-do compile } */

int a;

int
fn1 ()
{
  return 1;
}

void
fn2 ()
{
  int b, j;
  for (;;)
    {
      int c = 1;
      if (j)
	{
	  if (c)
	    break;
	}
      else
	b = a;
      fn1 () && b;
      j = fn1 ();
    }
}