diff options
Diffstat (limited to 'gcc/cfgbuild.c')
| -rw-r--r-- | gcc/cfgbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index a0c2c66..f73bbc5 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -209,7 +209,7 @@ make_edges (basic_block min, basic_block max, int update_p) nearly fully-connected CFGs. In that case we spend a significant amount of time searching the edge lists for duplicates. */ if (forced_labels || cfun->cfg->max_jumptable_ents > 100) - edge_cache = sbitmap_alloc (last_basic_block); + edge_cache = sbitmap_alloc (last_basic_block_for_fn (cfun)); /* By nature of the way these get numbered, ENTRY_BLOCK_PTR->next_bb block is always the entry. */ |
