diff options
author | mueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-16 22:07:30 +0000 |
---|---|---|
committer | mueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-16 22:07:30 +0000 |
commit | 43959b95a6a965a1164c227dbab8e47fd60db7b1 (patch) | |
tree | 20a6800e6ec0f98f64180f37d80e0cf6783b98b6 /gcc/calls.c | |
parent | feb12e1fb8ba825742d9af907b1d0fe81b8a223b (diff) | |
download | gcc-43959b95a6a965a1164c227dbab8e47fd60db7b1.tar.gz |
2006-11-16 Dirk Mueller <dmueller@suse.de>
* tree-vrp.c (get_value_range): Use XCNEW instead
of XNEW and memset.
(insert_range_assertions): Use XCNEWVEC instead
of XNEWVEC and memset.
(vrp_initialize): Same.
(vrp_finalize): Same.
* tree-ssa-ccp.c (ccp_initialize): Same.
* predict.c (tree_bb_level_predictions): Same.
* calls.c (expand_call): Same.
* tree-ssa-copy.c (init_copy_prop): Same.
(fini_copy_prop): Same.
* tree-ssa-alias.c (get_ptr_info): Use GGC_CNEW instead
of GGC_NEW and memset.
* name-lookup.c (begin_scope): Use GGC_CNEW instead of
GGC_NEW and memset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index b6f57df78c1..bdb8167adef 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2477,9 +2477,8 @@ expand_call (tree exp, rtx target, int ignore) /* Make a new map for the new argument list. */ if (stack_usage_map_buf) free (stack_usage_map_buf); - stack_usage_map_buf = XNEWVEC (char, highest_outgoing_arg_in_use); + stack_usage_map_buf = XCNEWVEC (char, highest_outgoing_arg_in_use); stack_usage_map = stack_usage_map_buf; - memset (stack_usage_map, 0, highest_outgoing_arg_in_use); highest_outgoing_arg_in_use = 0; } allocate_dynamic_stack_space (push_size, NULL_RTX, |