IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42719.c
blob94a58e41a1aebe4ad7715664078bfcaa05165443
1 /* PR tree-optimization/42719 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ftracer -fcompare-debug" } */
5 int *v;
7 void
8 foo (int a)
10 int i, j;
11 for (j = i = a; i != -1; j = i, i = v[i])
13 v[j] = v[a];