aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53163.c
blob: 990b11324444aa3724f449b43c84140fbffac186 (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
/* PR tree-optimization/53163 */

struct S { int s; } b, f;
int a, c;

void
foo (void)
{
  int d, e;
  for (d = 4; d < 19; ++d)
    for (e = 2; e >= 0; e--)
      {
	a = 0;
	a = 1;
      }
}

void
bar (void)
{
  int g, h, i;
  for (i = 1; i >= 0; i--)
    {
      b = f;
      for (g = 0; g <= 1; g++)
	{
	  if (c)
	    break;
	  for (h = 0; h <= 1; h++)
	    foo ();
	  foo ();
	}
    }
}