Message ID | 17d610aa-170d-6244-34df-2c4d6d577bec@acm.org |
---|---|
State | New |
Headers | show |
2017-05-24 Nathan Sidwell <nathan@acm.org> * auto-profile.c (afdo_propagate): Adjust T const cast to avoid warning. Index: auto-profile.c =================================================================== --- auto-profile.c (revision 248441) +++ auto-profile.c (working copy) @@ -1377,7 +1377,7 @@ afdo_propagate (bb_set *annotated_bb, ed FOR_ALL_BB_FN (bb, cfun) { bb->count = ((basic_block)bb->aux)->count; - if (is_bb_annotated ((const basic_block)bb->aux, *annotated_bb)) + if (is_bb_annotated ((basic_block)bb->aux, *annotated_bb)) set_bb_annotated (bb, annotated_bb); }