Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr21030.c
blob: b7590c0edaa4731df405a680d0fb0fa315c8a9ad [
file
] [
log
] [
blame
]
/* PR tree-optimization/21030
VRP used to create invalid ranges where VR->MIN is greater than
VR->MAX. */
void
foo
(
int
unit
)
{
int
i
;
for
(
i
=
0
;
unit
;
i
++,
unit
--)
{
if
(
i
>=
0
)
{
int
j
=
i
;
while
(
j
)
j
--;
}
}
}