Add sem_item::m_hash_set (PR ipa/78309)
authorMartin Liska <mliska@suse.cz>
Tue, 22 Nov 2016 09:18:37 +0000 (10:18 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 22 Nov 2016 09:18:37 +0000 (09:18 +0000)
commitfedf27187238acb19eeab0d217e6251828695307
tree6399e23823c32919144370ad6ad893df545a591e
parent876f73136cd42b18259bd97445e0d4bb0f01236d
Add sem_item::m_hash_set (PR ipa/78309)

PR ipa/78309
* ipa-icf.c (void sem_item::set_hash): Update m_hash_set.
(sem_function::get_hash): Use the new field.
(sem_function::parse): Remove an argument from ctor.
(sem_variable::parse): Likewise.
(sem_variable::get_hash): Use the new field.
(sem_item_optimizer::read_section): Use new ctor and set hash.
* ipa-icf.h: _hash is removed from sem_item::sem_item,
sem_variable::sem_variable, sem_function::sem_function.

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