aboutsummaryrefslogtreecommitdiff
path: root/gcc/auto-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/auto-profile.c')
-rw-r--r--gcc/auto-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c
index 5c6b505..ff5714a 100644
--- a/gcc/auto-profile.c
+++ b/gcc/auto-profile.c
@@ -1377,7 +1377,7 @@ afdo_propagate (bb_set *annotated_bb, edge_set *annotated_edge)
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);
}