aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr87087.c
blob: 2a076209c7ef1fa2a4b77afea9b4e671688f92ba (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
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */

int b;
int d;
void e()
{
  unsigned f;
  unsigned g;
  int h;
  long i = 901380;
  for (;;) {
      d = 0;
      for (; d; d++) {
	  h = 143366620;
	  f = 0;
	  for (; f < 15; f += 3) {
	      g = 0;
	      for (; g < 9; g++)
		b = h = i - (h << 5) + h;
	  }
      }
      i = 0;
  }
}