]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-ssa-operands.c
tree-tailcall.c (find_tail_calls): Use XNEW.
[thirdparty/gcc.git] / gcc / tree-ssa-operands.c
index 0e0f3650ddcab4db94dad47640d301a6f9768096..41046c78f8515b6b2708bcd24bcf55a6c21eaca1 100644 (file)
@@ -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;