aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chkp.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-03-24 22:51:08 +0100
committerMartin Liska <marxin@gcc.gnu.org>2015-03-24 21:51:08 +0000
commit69f6b1f49ab388eeefb2c976d3335eaabb2b36c4 (patch)
tree606cbcfb4ebd88b0c41d37f545be4e2790c50e36 /gcc/tree-chkp.c
parente93870c12bbd5843b93447646c631eb8d6d99a9a (diff)
downloadgcc-69f6b1f49ab388eeefb2c976d3335eaabb2b36c4.zip
gcc-69f6b1f49ab388eeefb2c976d3335eaabb2b36c4.tar.gz
gcc-69f6b1f49ab388eeefb2c976d3335eaabb2b36c4.tar.bz2
IPA ICF: enhance hash value calculated in TU
* ipa-icf-gimple.h (return_with_result): Add missing colon to dump. * ipa-icf.c (sem_function::get_hash): Hash new declaration properties. (sem_item::add_type): New function. (sem_function::hash_stmt): Add TREE_TYPE of gimple_op. (sem_function::compare_polymorphic_p): Do not consider indirect calls. (sem_item_optimizer::update_hash_by_addr_refs): Add ODR type to hash. (sem_function::equals_wpa): Fix typo. * ipa-icf.h (sem_item::add_type): New function. (symbol_compare_hashmap_traits): Replace hashing of pointer with symbol order. Co-Authored-By: Martin Liska <mliska@suse.cz> From-SVN: r221645
Diffstat (limited to 'gcc/tree-chkp.c')
0 files changed, 0 insertions, 0 deletions