diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-12 15:16:00 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-12 15:16:00 +0000 |
commit | 09a069ef63a70b66b392f732d2d2d0220ca6727e (patch) | |
tree | 9c0e3a01a29255ea0316cfea7a3a7ce1fd63979b /maintainer-scripts/crontab | |
parent | c256513de71575e466b1b678bf2b3fe286378074 (diff) | |
download | gcc-09a069ef63a70b66b392f732d2d2d0220ca6727e.tar.gz |
Fix PR ipa/68035
PR ipa/68035
* ipa-icf.c (void sem_item::set_hash): New function.
(sem_function::get_hash): Use renamed m_hash member variable.
(sem_item::update_hash_by_addr_refs): Utilize get_hash.
(sem_item::update_hash_by_local_refs): Likewise.
(sem_variable::get_hash): Use renamed m_hash member variable.
(sem_item_optimizer::update_hash_by_addr_refs): Utilize get_hash.
(sem_item_optimizer::build_hash_based_classes): Utilize set_hash.
(sem_item_optimizer::build_graph): As the hash value of an item
is lazy initialized, force the calculation.
* ipa-icf.h (set_hash): Declare new function and rename hash member
variable to m_hash.
* gcc.dg/ipa/pr68035.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/crontab')
0 files changed, 0 insertions, 0 deletions