| Submitter | asharif |
|---|---|
| Date | March 16, 2011, 12:45 a.m. |
| Message ID | <AANLkTimphyNTTAvxNgiceJ263O5xgOeuSjbuKsSvApvL@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/87137/ |
| State | New |
| Headers | show |
Comments
Patch
Index: predict.c =================================================================== --- predict.c (revision 171019) +++ predict.c (working copy) @@ -200,7 +200,7 @@ bool probably_never_executed_bb_p (const_basic_block bb) { - if (profile_info && flag_branch_probabilities) + if (profile_info && flag_branch_probabilities && profile_info->runs != 0) return ((bb->count + profile_info->runs / 2) / profile_info->runs) == 0; if ((!profile_info || !flag_branch_probabilities) && cgraph_node (current_function_decl)->frequency ==