aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr66349.c
blob: 8aa8c56beff1720e1416360ea30a6b89d22ae5ce (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
29
30
31
/* { dg-do compile } */

unsigned int a;
int b, c, d, e, f;

void
fn1 ()
{
  for (; b; b++)
    {
      for (e = 0; e < 1; e++)
	;
      int i = -1, j = 1;
      if (f)
	{
	  for (; a < 1; a++)
	    ;
	  i++;
	  j = 0;
	}
      for (; d; d++)
	{
	  if (j)
	    for (;; c++)
	      ;
	  if (i)
	    continue;
	  return;
	}
    }
}