summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr46168.c
blob: 28b48415d972f6a14ce48b9b99c91aa628759b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O -ftree-loop-linear" } */

int
foo (int a[4096], int mi, int mj)
{
  int i, j, i16;
  for (i = 0; i < mi; i++)
    {
      i16 = i + 16;
      for (j = 0; j < mj; j++)
	i16 = a[j] == i16;
    }
  return i16;
}