aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-loop-versioning.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-loop-versioning.cc')
-rw-r--r--gcc/gimple-loop-versioning.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-loop-versioning.cc b/gcc/gimple-loop-versioning.cc
index 002b2a6..2687088 100644
--- a/gcc/gimple-loop-versioning.cc
+++ b/gcc/gimple-loop-versioning.cc
@@ -555,7 +555,7 @@ loop_versioning::loop_versioning (function *fn)
gcc_obstack_init (&m_obstack);
/* Initialize the loop information. */
- m_loops.safe_grow_cleared (m_nloops);
+ m_loops.safe_grow_cleared (m_nloops, true);
for (unsigned int i = 0; i < m_nloops; ++i)
{
m_loops[i].outermost = get_loop (m_fn, 0);
@@ -564,7 +564,7 @@ loop_versioning::loop_versioning (function *fn)
/* Initialize the list of blocks that belong to each loop. */
unsigned int nbbs = last_basic_block_for_fn (fn);
- m_next_block_in_loop.safe_grow (nbbs);
+ m_next_block_in_loop.safe_grow (nbbs, true);
basic_block bb;
FOR_EACH_BB_FN (bb, fn)
{