diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-08 13:30:39 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-08 13:30:39 +0000 |
commit | 7a52b64028b90af081d071db9be51e581ba7c6a2 (patch) | |
tree | 87eecd1bc203935a50995e9bebd58272a28bdc72 /gcc/lto | |
parent | 1d9068374794acd6a4bb6197d82a02e5e1f9120f (diff) | |
download | gcc-7a52b64028b90af081d071db9be51e581ba7c6a2.tar.gz |
2010-09-08 Richard Guenther <rguenther@suse.de>
* gimple.c (gimple_types, type_hash_cache): Move to GC memory.
(visit): Adjust.
(iterative_hash_gimple_type): Likewise.
(gimple_type_hash): Likewise.
(gimple_register_type): Likewise.
(print_gimple_types_stats): Likewise.
(free_gimple_type_tables): Likewise.
lto/
* lto.c (read_cgraph_and_symbols): Collect again after each
file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto/lto.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 1966ea8c8e1..1d5aa14081b 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2010-09-08 Richard Guenther <rguenther@suse.de> + + * lto.c (read_cgraph_and_symbols): Collect again after each + file. + 2010-09-07 Jan Hubicka <jh@suse.cz> * lto.c (promote_var, promote_fn): Set DECL_VISIBILITY_SPECIFIED. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 5d531f58d3c..4d66a949428 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -1789,8 +1789,7 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames) lto_obj_file_close (current_lto_file); current_lto_file = NULL; - /* ??? We'd want but can't ggc_collect () here as the type merging - code in gimple.c uses hashtables that are not ggc aware. */ + ggc_collect (); } lto_flatten_files (decl_data, count, last_file_ix); |