From: Trevor Saunders Date: Tue, 9 Dec 2014 02:30:13 +0000 (+0000) Subject: move gimple_canonical_types htab out of gc memory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58dddbd21adef585e9f049e83bd58a1a08da074d;p=gcc.git move gimple_canonical_types htab out of gc memory lto/ * lto.c (read_cgraph_and_symbols): allocate gimple_canonical_types htab with malloc instead of ggc. From-SVN: r218502 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index fa96f4825ca..5f509f01b6e 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2014-12-08 Trevor Saunders + + * lto.c (read_cgraph_and_symbols): allocate gimple_canonical_types + htab with malloc instead of ggc. + 2014-11-20 Trevor Saunders * lto.c: Replace htab with hash_table. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index a1cd9581bb2..1ff02f86ff8 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -2926,8 +2926,8 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames) symtab->state = LTO_STREAMING; canonical_type_hash_cache = new hash_map (251); - gimple_canonical_types = htab_create_ggc (16381, gimple_canonical_type_hash, - gimple_canonical_type_eq, 0); + gimple_canonical_types = htab_create (16381, gimple_canonical_type_hash, + gimple_canonical_type_eq, NULL); gcc_obstack_init (&tree_scc_hash_obstack); tree_scc_hash = new hash_table (4096);