libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loopclosedphi.c
blob0a8a4174f5fe0e5f5075f3cd78cf5e85e1105e6a
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-tree-ch -fno-unswitch-loops -w -fdump-tree-loopdone-details" } */
4 void
5 t6 (int qz, int wh)
7 int jl = wh;
9 while (1.0 * qz / wh < 1)
11 qz = wh * (wh + 2);
13 while (wh < 1)
14 jl = 0;
17 while (qz < 1)
18 qz = jl * wh;
21 /* { dg-final { scan-tree-dump-times "Replacing" 3 "loopdone"} } */