This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242825 - in /branches/gcc-6-branch/gcc: Change...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 24 Nov 2016 10:19:23 -0000
- Subject: r242825 - in /branches/gcc-6-branch/gcc: Change...
Author: marxin
Date: Thu Nov 24 10:19:22 2016
New Revision: 242825
URL: https://gcc.gnu.org/viewcvs?rev=242825&root=gcc&view=rev
Log:
Add sem_item::m_hash_set (PR ipa/78309)
Backported from mainline
2016-11-22 Martin Liska <mliska@suse.cz>
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:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/ipa-icf.c
branches/gcc-6-branch/gcc/ipa-icf.h