aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr80549.c
blob: 64ace5906ea7e33736e8240b37e408db8f6e3919 (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
32
33
/* { dg-do run } */

signed char a, b;
int c;
short d;
void fn1(int p1)
{
  short e = 4;
  int f;
  d = 0;
  for (; d <= 0; d++)
    e = 0;
  if (e)
    goto L1;
L2:
  if (p1) {
      a = 9;
      for (; a; ++a) {
	  f = 5;
	  for (; f != 32; ++f)
	    c = 8;
L1:
	  if (b)
	    goto L2;
      }
  }
}

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