aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr84427.c
blob: 761a4b64d9a8ff7f3582e95a62a31fb9b52d46ec (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 } */

short a, d, e;
unsigned char b;
int c, f;
char g, h;
void fn2(int, int);
void fn1() { fn2(e, a); }
void fn2(int p1, int p2)
{
l1:
  b = a;
  for (; h; h--)
    if (p1)
      g = p2 * c;
    else
      {
	c = d;
	if (f)
	  goto l1;
      }
}