summaryrefslogtreecommitdiff
path: root/gcc/ipa-icf-gimple.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-24 21:51:08 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-24 21:51:08 +0000
commit4a34b76acebda5739e13fdb5ddea8b9e68c777a4 (patch)
tree606cbcfb4ebd88b0c41d37f545be4e2790c50e36 /gcc/ipa-icf-gimple.h
parent88ebd0eef962a35de172f5f0bd10e045230eef90 (diff)
downloadgcc-4a34b76acebda5739e13fdb5ddea8b9e68c777a4.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-icf-gimple.h')
-rw-r--r--gcc/ipa-icf-gimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-icf-gimple.h b/gcc/ipa-icf-gimple.h
index 53a1bfe3c14..6a9cbed5ff4 100644
--- a/gcc/ipa-icf-gimple.h
+++ b/gcc/ipa-icf-gimple.h
@@ -75,7 +75,7 @@ static inline bool
return_with_result (bool result, const char *func, unsigned int line)
{
if (!result && dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, " false returned (%s:%u)\n", func, line);
+ fprintf (dump_file, " false returned: (%s:%u)\n", func, line);
return result;
}