ipa-icf.c (sem_function::equals_wpa): Compare thunk info.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 24 Apr 2015 00:58:25 +0000 (02:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 24 Apr 2015 00:58:25 +0000 (00:58 +0000)
commitfb5c322ed1c6f5a6e6ca319dd864bdea65dc1402
tree819b00396021a82b9b24921b0e421c5e222bb057
parentb3b80089c26d4c8c899626feb19602e217e1cbee
ipa-icf.c (sem_function::equals_wpa): Compare thunk info.

* 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.

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