diff options
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r-- | gcc/tree-ssa-propagate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c index 783b6513e30..55ae68bb732 100644 --- a/gcc/tree-ssa-propagate.c +++ b/gcc/tree-ssa-propagate.c @@ -495,10 +495,10 @@ ssa_prop_init (void) vec_alloc (interesting_ssa_edges, 20); vec_alloc (varying_ssa_edges, 20); - executable_blocks = sbitmap_alloc (last_basic_block); + executable_blocks = sbitmap_alloc (last_basic_block_for_fn (cfun)); bitmap_clear (executable_blocks); - bb_in_list = sbitmap_alloc (last_basic_block); + bb_in_list = sbitmap_alloc (last_basic_block_for_fn (cfun)); bitmap_clear (bb_in_list); if (dump_file && (dump_flags & TDF_DETAILS)) |