diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index eca3ed018ce..f46556fe59a 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -436,13 +436,13 @@ create_bb (void *h, void *e, basic_block after) gcc_assert (!e); /* Create and initialize a new basic block. Since alloc_block uses - ggc_alloc_cleared to allocate a basic block, we do not have to - clear the newly allocated basic block here. */ + GC allocation that clears memory to allocate a basic block, we do + not have to clear the newly allocated basic block here. */ bb = alloc_block (); bb->index = last_basic_block; bb->flags = BB_NEW; - bb->il.gimple = GGC_CNEW (struct gimple_bb_info); + bb->il.gimple = ggc_alloc_cleared_gimple_bb_info (); set_bb_seq (bb, h ? (gimple_seq) h : gimple_seq_alloc ()); /* Add the new block to the linked list of blocks. */ |