* ipa-icf.c (sem_function::equals_wpa): Compare thunk info.
commitb3b9039b318661aeb62e4d5e47f457d33ea8d96f
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Apr 2015 00:58:25 +0000 (24 00:58 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Apr 2015 00:58:25 +0000 (24 00:58 +0000)
tree819b00396021a82b9b24921b0e421c5e222bb057
parentf202f9d4566b6e907c45a78b529a652aa851a1f7
* ipa-icf.c (sem_function::equals_wpa): Compare thunk info.
(sem_function::equals): IGNORED_NODES parameter is now unused;
update call of equals_private.
(sem_function::equals_private): Do not call equals_wpa; skip
gimple body matching if there is no body.
(sem_function::init): Add logic to hash tthunk info.
(sem_function::parse): Also parse thunks.
* ipa-icf.h (equals_private): Update declaration.

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