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

int a;

void f(void)
{
  int b;

  if(0)
    lbl:
	goto lbl;

  if(b)
    {
      int p = 0;
      goto lbl;
    }

  a = 0;
  while(b++);
  goto lbl;
}