ipa-icf.c (sem_function::init): Fix formating; skip GIMPLE_PREDICT.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 1 Mar 2015 22:22:26 +0000 (23:22 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 1 Mar 2015 22:22:26 +0000 (22:22 +0000)
commita8d9381738d229b9ebad9a91bc2cd211e368c750
treebca4388d8754c5208003420a930bf8c221bf2c88
parentf7f64d539a9d97d9f52bd408bec309233831e36c
ipa-icf.c (sem_function::init): Fix formating; skip GIMPLE_PREDICT.

* ipa-icf.c (sem_function::init): Fix formating; skip GIMPLE_PREDICT.
(sem_item::add_expr): New function.
(sem_function::hash_stmt): Handle operands of most statements.
(sem_variable::get_hash): Hash the actual constructor.
* ipa-icf.h (sem_item): Add add_expr.
(sem_function): Update prototype of hash_stmt

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