ipa-icf.c: Include stor-layout.h
authorJan Hubicka <hubicka@ucw.cz>
Mon, 2 Mar 2015 00:54:46 +0000 (01:54 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 2 Mar 2015 00:54:46 +0000 (00:54 +0000)
commit4630573709177f43b6b755326c90d6b777fbb2ab
tree1bf0d2f405c6066ed16c44e927b47c0df6db8629
parent3c37b96b8761e80bd99fc1e19879f94e647d6869
ipa-icf.c: Include stor-layout.h

* ipa-icf.c: Include stor-layout.h
(sem_function::compare_cgraph_references): Rename to ...
(sem_item::compare_cgraph_references): ... this one.
(sem_variable::equals_wpa): New function
(sem_variable::equals): Do not check stuff already verified by
equals_wpa.
(sem_variable::equals): Reorg based on varasm.c:compare_constant.
* ipa-icf.h (sem_item): Add compare_cgraph_references.
(sem_function): Remove compare_cgraph_references.
(sem_variable): Turns equals_wpa into non-inline.

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