aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/pr34635.c
blob: 5b4253cc4f0347f23c1fa71e0e3e8a6a3385701e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O3" } */

void foo(int x[])
{
 int i, j;

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