[Bug ipa/78309] [7 Regression] ICE: in get_hash, at ipa-icf.c:2124
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 09:21:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78309
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Nov 22 09:18:37 2016
New Revision: 242687
URL: https://gcc.gnu.org/viewcvs?rev=242687&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-icf.c
trunk/gcc/ipa-icf.h
More information about the Gcc-bugs
mailing list