diff options
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 76f0f60..f0025c7 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -161,7 +161,7 @@ ipa_utils_reduced_inorder (struct cgraph_node **order, struct cgraph_node *node; struct searchc_env env; splay_tree_node result; - env.stack = xcalloc (cgraph_n_nodes, sizeof (struct cgraph_node *)); + env.stack = XCNEWVEC (struct cgraph_node *, cgraph_n_nodes); env.stack_size = 0; env.result = order; env.order_pos = 0; |