diff options
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c index 2ab6a4df3e3..f475d276b70 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -700,14 +700,14 @@ compute_alignments (void) flow_loops_dump (dump_file, NULL, 1); } loop_optimizer_init (AVOID_CFG_MODIFICATIONS); - FOR_EACH_BB (bb) + FOR_EACH_BB_FN (bb, cfun) if (bb->frequency > freq_max) freq_max = bb->frequency; freq_threshold = freq_max / PARAM_VALUE (PARAM_ALIGN_THRESHOLD); if (dump_file) fprintf (dump_file, "freq_max: %i\n",freq_max); - FOR_EACH_BB (bb) + FOR_EACH_BB_FN (bb, cfun) { rtx label = BB_HEAD (bb); int fallthru_frequency = 0, branch_frequency = 0, has_fallthru = 0; |