summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr29330.c
blob: dff42077946a2bee6cf67f28a9c32f6cc9c30abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR tree-optimization/29330 */
/* { dg-do compile } */
/* { dg-options "-O -ftree-loop-linear -std=gnu99" } */

int buf[2][2][2][2];

void
f (void)
{
  for (int a = 0; a < 2; ++a)
    for (int b = 0; b < 2; ++b)
      for (int c = 0; c < 2; ++c)
	for (int d = 0; d < 2; ++d)
	  buf[a][b][c][d] = 0;
}