aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52092.c
blob: 4c39c7772a5ee5124aa3bddad0f89ba5e5991c2c (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
/* PR rtl-optimization/52092 */

int a, b, c, d, e, f, g;

void
foo (void)
{
  for (;;)
    {
      int *h = 0;
      int i = 3;
      int **j = &h;
      if (e)
	{
	  c = d || a;
	  g = c ? a : b;
	  if ((char) (i * g))
	    {
	      h = &f;
	      *h = 0;
	    }
	  **j = 0;
	}
    }
}