diff options
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 0e0f3650ddc..41046c78f85 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -279,7 +279,7 @@ ssa_operand_alloc (unsigned size) if (operand_memory_index + size >= SSA_OPERAND_MEMORY_SIZE) { struct ssa_operand_memory_d *ptr; - ptr = ggc_alloc (sizeof (struct ssa_operand_memory_d)); + ptr = GGC_NEW (struct ssa_operand_memory_d); ptr->next = operand_memory; operand_memory = ptr; operand_memory_index = 0; |