aboutsummaryrefslogtreecommitdiff
path: root/gcc/early-remat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/early-remat.c')
-rw-r--r--gcc/early-remat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/early-remat.c b/gcc/early-remat.c
index 9f5f854..5e415f7 100644
--- a/gcc/early-remat.c
+++ b/gcc/early-remat.c
@@ -1007,7 +1007,7 @@ void
early_remat::init_block_info (void)
{
unsigned int n_blocks = last_basic_block_for_fn (m_fn);
- m_block_info.safe_grow_cleared (n_blocks);
+ m_block_info.safe_grow_cleared (n_blocks, true);
}
/* Maps basic block indices to their position in the post order. */
@@ -1068,7 +1068,7 @@ void
early_remat::finalize_candidate_indices (void)
{
/* Create a bitmap for each candidate register. */
- m_regno_to_candidates.safe_grow (max_reg_num ());
+ m_regno_to_candidates.safe_grow (max_reg_num (), true);
unsigned int regno;
bitmap_iterator bi;
EXECUTE_IF_SET_IN_BITMAP (&m_candidate_regnos, 0, regno, bi)