> >From 1943aa293c1ff7622cf9090a834d7bd9dfaaf086 Mon Sep 17 00:00:00 2001 > From: mliska <mli...@suse.cz> > Date: Mon, 23 Mar 2015 15:36:11 +0100 > Subject: [PATCH] IPA ICF: enhance hash value calculated in TU > > gcc/ChangeLog: > > 2015-03-23 Jan Hubicka <hubi...@ucw.cz> > Martin Liska <mli...@suse.cz> > > * 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.
OK, thanks! Honza