diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-09 02:30:13 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-09 02:30:13 +0000 |
commit | 9dac2720f30b6a3271d55c67cd79a3d90c11c2ed (patch) | |
tree | b63391e5870d1b6f296c60ed12a39f0c91842edf /gcc/lto/lto.c | |
parent | b0c5be65a5af923b8c776d44a53561d6d1ac23a6 (diff) | |
download | gcc-9dac2720f30b6a3271d55c67cd79a3d90c11c2ed.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r-- | gcc/lto/lto.c | 4 |
1 files changed, 2 insertions, 2 deletions
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<const_tree, hashval_t> (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<tree_scc_hasher> (4096); |