Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr42719.c
blob: 94a58e41a1aebe4ad7715664078bfcaa05165443 [
file
] [
log
] [
blame
]
/* PR tree-optimization/42719 */
/* { dg-do compile } */
/* { dg-options "-O2 -ftracer -fcompare-debug" } */
int
*
v
;
void
foo
(
int
a
)
{
int
i
,
j
;
for
(
j
=
i
=
a
;
i
!=
-
1
;
j
=
i
,
i
=
v
[
i
])
;
v
[
j
]
=
v
[
a
];
}