Commit 4e9f27af by Zdenek Dvorak Committed by Richard Henderson

sched-rgn.c (schedule_insns): Initialize large_region_blocks with only extant block numbers.

        * sched-rgn.c (schedule_insns): Initialize large_region_blocks
        with only extant block numbers.

From-SVN: r53535
parent 3cdc1dbc
2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* sched-rgn.c (schedule_insns): Initialize large_region_blocks
with only extant block numbers.
2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
* lcm.c (optimize_mode_switching): Fix typo. * lcm.c (optimize_mode_switching): Fix typo.
......
...@@ -2982,6 +2982,7 @@ schedule_insns (dump_file) ...@@ -2982,6 +2982,7 @@ schedule_insns (dump_file)
sbitmap large_region_blocks, blocks; sbitmap large_region_blocks, blocks;
int rgn; int rgn;
int any_large_regions; int any_large_regions;
basic_block bb;
/* Taking care of this degenerate case makes the rest of /* Taking care of this degenerate case makes the rest of
this code simpler. */ this code simpler. */
...@@ -3021,7 +3022,9 @@ schedule_insns (dump_file) ...@@ -3021,7 +3022,9 @@ schedule_insns (dump_file)
any_large_regions = 0; any_large_regions = 0;
large_region_blocks = sbitmap_alloc (last_basic_block); large_region_blocks = sbitmap_alloc (last_basic_block);
sbitmap_ones (large_region_blocks); sbitmap_zero (large_region_blocks);
FOR_ALL_BB (bb)
SET_BIT (large_region_blocks, bb->sindex);
blocks = sbitmap_alloc (last_basic_block); blocks = sbitmap_alloc (last_basic_block);
sbitmap_zero (blocks); sbitmap_zero (blocks);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment