IPA ICF: include hash values of references.
authorMartin Liska <mliska@suse.cz>
Sun, 22 Mar 2015 22:47:06 +0000 (23:47 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Sun, 22 Mar 2015 22:47:06 +0000 (22:47 +0000)
commit3ab933594942029c75a9f966ba949c8a0ead1de8
treeb7bc6aaab7da123adf51a0177421b3b65768c4ef
parent34d417be31db4900811d9294f4f42371d576d340
IPA ICF: include hash values of references.

* ipa-icf.c (sem_item::update_hash_by_addr_refs): New function.
(sem_item::update_hash_by_local_refs): Likewise.
(sem_variable::get_hash): Empty line is fixed.
(sem_item_optimizer::execute): Include adding of hash references.
(sem_item_optimizer::update_hash_by_addr_refs): New function.
(sem_item_optimizer::build_hash_based_classes): Use local hash.
* ipa-icf.h (sem_item::update_hash_by_addr_refs): New function.
(sem_item::update_hash_by_local_refs): Likewise.

From-SVN: r221576
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h