From: jason Date: Tue, 20 Mar 2012 19:14:16 +0000 (+0000) Subject: * tree-streamer-in.c (streamer_alloc_tree): Call X-Git-Tag: upstream/4.9.2~13654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=358f9d9649d946799683278e25b189dd6e9f71bc;p=platform%2Fupstream%2Flinaro-gcc.git * tree-streamer-in.c (streamer_alloc_tree): Call ggc_alloc_zone_cleared_tree_node instead of ggc_alloc_zone_cleared_tree_node_stat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185586 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2743ed..117fab8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-03-20 Jason Merrill + + * tree-streamer-in.c (streamer_alloc_tree): Call + ggc_alloc_zone_cleared_tree_node instead of + ggc_alloc_zone_cleared_tree_node_stat. + 2012-03-20 Jonathan Wakely * doc/extend.texi (Template Instantiation): Remove anachronisms. diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c index 50ea77d..97c78cd 100644 --- a/gcc/tree-streamer-in.c +++ b/gcc/tree-streamer-in.c @@ -476,9 +476,9 @@ streamer_alloc_tree (struct lto_input_block *ib, struct data_in *data_in, else if (CODE_CONTAINS_STRUCT (code, TS_VECTOR)) { HOST_WIDE_INT len = streamer_read_hwi (ib); - result = ggc_alloc_zone_cleared_tree_node_stat (&tree_zone, - (len - 1) * sizeof (tree) - + sizeof (struct tree_vector)); + result = ggc_alloc_zone_cleared_tree_node ((len - 1) * sizeof (tree) + + sizeof (struct tree_vector), + &tree_zone); TREE_SET_CODE (result, VECTOR_CST); } else if (CODE_CONTAINS_STRUCT (code, TS_BINFO))