summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-18 19:35:08 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-18 19:35:08 +0000
commite52a3bedc98dd99019f94952357e0ca46c34501b (patch)
treede15fe52360bf719ed5c0a49ace9daae5c91c295 /gcc/recog.c
parent8c960e2a9be4a8806a2e4ba8164c3e7aff63817f (diff)
downloadgcc-e52a3bedc98dd99019f94952357e0ca46c34501b.tar.gz
* sbitmap.c (sbitmap_resize): New function.
* sbitmap.h (sbitmap_resize): Prototype here. * recog.c (split_all_insns): Use sbitmap_resize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 6206be1700c..6f4a73335e2 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2883,18 +2883,7 @@ split_all_insns (upd_life)
find_many_sub_basic_blocks (blocks);
if (old_last_basic_block != last_basic_block && upd_life)
- {
- sbitmap new_blocks = sbitmap_alloc (last_basic_block);
-
- sbitmap_copy (new_blocks, blocks);
- while (old_last_basic_block < last_basic_block)
- {
- SET_BIT (new_blocks, old_last_basic_block);
- old_last_basic_block++;
- }
- sbitmap_free (blocks);
- new_blocks = blocks;
- }
+ blocks = sbitmap_resize (blocks, last_basic_block, 1);
}
if (changed && upd_life)