aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr56448.c
blob: f10da6ce7526d4aca84541af49f642260aa38fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/56448 */

volatile int a[1];
int b;

void
foo ()
{
  for (;;)
    {
      int *c[3][6] = { 0, 0, 0, &b, 0, 0, 0, 0, &b, 0, 0, 0, 0, 0, 0, 0, &b, (int *) &a[0] };
      b = *c[2][5];
    }
}