summaryrefslogtreecommitdiff
path: root/gcc/mcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mcf.c')
-rw-r--r--gcc/mcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mcf.c b/gcc/mcf.c
index f9b55051923..146b43c1377 100644
--- a/gcc/mcf.c
+++ b/gcc/mcf.c
@@ -1245,7 +1245,7 @@ adjust_cfg_counts (fixup_graph_type *fixup_graph)
sum_edge_counts (EXIT_BLOCK_PTR_FOR_FN (cfun)->preds);
/* Compute edge probabilities. */
- FOR_ALL_BB (bb)
+ FOR_ALL_BB_FN (bb, cfun)
{
if (bb->count)
{