2013-10-15 Richard Biener <rguenther@suse.de>
commitfdbb424ac9e387471dd75aee55e4def9968115fe
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 11:13:04 +0000 (15 11:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 11:13:04 +0000 (15 11:13 +0000)
tree0bc266957334d7f4625e0ead76ba145b6517a2eb
parent1db8414ff2d93039abcdcb48d2a7f2afd9ef343b
2013-10-15  Richard Biener  <rguenther@suse.de>

lto/
* lto.c (hash_canonical_type): Split out from ...
(iterative_hash_canonical_type): ... here.  Register types
we recurse to.
(gimple_canonical_type_hash): Adjust.
(gimple_register_canonical_type_1): Split out from ...
(gimple_register_canonical_type): ... here.  Cache computed
hash value.
(lto_register_canonical_types): Split into two modes,
clearing and computing TYPE_CANONICAL.
(lto_read_decls): Adjust.
(read_cgraph_and_symbols): Do two passes over global trees,
first clearing then computing TYPE_CANONICAL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203600 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto.c