blob: d71b757fbca59b478d1577da241077deadfc2c16 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O3 -fno-tree-ch -w -fdump-tree-loopdone-details" } */
void
t6 (int qz, int wh)
{
int jl = wh;
while (1.0 * qz / wh < 1)
{
qz = wh * (wh + 2);
while (wh < 1)
jl = 0;
}
while (qz < 1)
qz = jl * wh;
}
/* { dg-final { scan-tree-dump-times "Replacing" 2 "loopdone"} } */