aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr70780.c
blob: 2f7a5cbea0660607ec2fadf421511d54a7848644 (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
/* { dg-do run } */

int a, b, c, *d, e;

static int
fn1 () 
{
  if (a)
    goto l1;
l2: while (b)
      if (*d)
	return c;
    for (e = 0; e; e++)
      {
	goto l2;
l1:;
      }
    return 0; 
}

int
main ()
{
  fn1 ();
  return 0; 
}