aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr87147.c
blob: 385cfce7201111160bfa618a38eb147122decdaa (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 run } */

short a;
long b;
int c, d, g;
char e, h;
long f[] = {0};
int main()
{
  int i = 1;
  for (; a <= 3; a++) {
      c = 0;
      for (; c <= 2; c++) {
	  b = 0;
	  for (; b <= 3; b++) {
	      h = i && f[d];
	      e = g && i;
	      i = 0;
	  }
      }
  }
}