X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Flto-streamer.c;h=0ae7c0c619637ea500d4a77e176a1e7b5661dd16;hb=120a04de68643e4f372c546ee4d68097d39f0fe5;hp=153d2a786083757ade8e4fce3b236ca7033407a8;hpb=a6b606a8083b326f68a121d58a06de3ca8b2fcea;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 153d2a78608..0ae7c0c6196 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -458,7 +458,7 @@ lto_streamer_cache_add_to_node_array (struct lto_streamer_cache_d *cache, if (ix >= (int) VEC_length (tree, cache->nodes)) { size_t sz = ix + (20 + ix) / 4; - VEC_safe_grow_cleared (tree, heap, cache->nodes, sz); + VEC_safe_grow_cleared (tree, gc, cache->nodes, sz); VEC_safe_grow_cleared (unsigned, heap, cache->offsets, sz); } @@ -790,7 +790,7 @@ lto_streamer_cache_delete (struct lto_streamer_cache_d *c) htab_delete (c->node_map); free_alloc_pool (c->node_map_entries); - VEC_free (tree, heap, c->nodes); + VEC_free (tree, gc, c->nodes); VEC_free (unsigned, heap, c->offsets); free (c); }