1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
11 for (i
= 0; i
<= bound
; i
++)
15 /* The following test is redundant with the loop bound check in the
16 for stmt and thus eliminated by FRE which makes the controlled
17 stmt always executed and thus equivalent to 100%. Thus the
18 heuristic only applies three times. */
28 /* { dg-final { scan-tree-dump-times "guess loop iv compare heuristics of edge\[^:\]*: 64.0%" 3 "profile_estimate"} } */