summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr43306.c
blob: 43195e489168ce135fa14b563f97a677d0853344 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-options "-O1 -fstrict-overflow -fgraphite-identity" } */

void foo(int x[])
{
  int i, j;
  for (i = 0; i < 2; i++)
    for (j = 0; j < 2; j++)
      x[i] = x[i*j];
}