aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr59417.c
blob: 227c5d8410597981a187fa3d23f52c0ad365e7dd (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
34
35
36
37
38
39
/* PR tree-optimization/59417 */

int a, b, d;
short c;

void
f (void)
{
  if (b)
    {
      int *e;

      if (d)
	{
	  for (; b; a++)
	  lbl1:
	    d = 0;

	  for (; d <= 1; d++)
	    {
	      int **q = &e;
	      for (**q = 0; **q <= 0; **q++)
		d = 0;
	    }
	}
    }

  else
    {
      int t;
      for (c = 0; c < 77; c++)
	for (c = 0; c < 46; c++);
      for (; t <= 0; t++)
      lbl2:
	;
      goto lbl1;
    }
  goto lbl2;
}