Add sem_item::m_hash_set (PR ipa/78309)
commit2c8968f73b34320d5d3a5fdead72107a1a1a2637
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Nov 2016 09:18:37 +0000 (22 09:18 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Nov 2016 09:18:37 +0000 (22 09:18 +0000)
tree6399e23823c32919144370ad6ad893df545a591e
parent6514c52372bb36e555843b0419d71cf55eda0409
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.

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