summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-pr46834.c
blob: 8d89b8e3ca8bce3c0e43ac7c5d384bebf9e352d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-options "-O -fgraphite-identity -ffast-math -fno-tree-dce" } */

void foo ()
{
  int M0[4][4], M3[4] = {};
  int i=-1;
  int ii, jj;
  for (; i; i++)
      for (jj = 0; jj < 4; jj++)
	for (ii = 0; ii < 4; ii++)
	    M3[1] += __builtin_abs (M0[ii][0]);
}