summaryrefslogtreecommitdiffstats
path: root/gcc/tree-complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r--gcc/tree-complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index 35a85fca16c..d37a82e701c 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -79,7 +79,7 @@ cvc_insert (unsigned int uid, tree to)
struct int_tree_map *h;
void **loc;
- h = xmalloc (sizeof (struct int_tree_map));
+ h = XNEW (struct int_tree_map);
h->uid = uid;
h->to = to;
loc = htab_find_slot_with_hash (complex_variable_components, h,
OpenPOWER on IntegriCloud