diff options
Diffstat (limited to 'gcc/dse.c')
-rw-r--r-- | gcc/dse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dse.c b/gcc/dse.c index 05a288643af..17312c5a587 100644 --- a/gcc/dse.c +++ b/gcc/dse.c @@ -2999,11 +2999,11 @@ static void dse_step3 () { basic_block bb; - sbitmap unreachable_blocks = sbitmap_alloc (last_basic_block_for_fn (cfun)); sbitmap_iterator sbi; bitmap all_ones = NULL; unsigned int i; + auto_sbitmap unreachable_blocks (last_basic_block_for_fn (cfun)); bitmap_ones (unreachable_blocks); FOR_ALL_BB_FN (bb, cfun) @@ -3058,7 +3058,6 @@ dse_step3 () if (all_ones) BITMAP_FREE (all_ones); - sbitmap_free (unreachable_blocks); } |