aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr58326-2.c
blob: ddddbbe57855adc9ff94e235527625baaa91df6e (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;

void foo ()
{
  int e;

lbl:
  for (c = 0; c < 2; c++)
    {
      e = d;
      for (; a; a++)
	{
	  d = e;
	  if (b)
	    goto lbl; 
	}
    }
}