summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-23 15:25:26 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-23 15:25:26 +0000
commitb08f05cd687754b82d31cbe585b47d5e03570610 (patch)
treed6b15aa51b46d77748d8d4c072013fffecdf527f /gcc/ChangeLog
parent15bfcab1ecdc8cd219d3ff3d1eb3c2cbf059005e (diff)
downloadgcc-b08f05cd687754b82d31cbe585b47d5e03570610.tar.gz
* ipa-icf.c (sem_item::compare_attributes): New function.
(sem_item::compare_referenced_symbol_properties): Compare variable attributes. (sem_item::hash_referenced_symbol_properties): Record DECL_ALIGN. (sem_function::param_used_p): New function. (sem_function::equals_wpa): Fix attribute comparsion; match parameter type codes; do not compare paremter flags when they are not used; compare edge flags; compare indirect calls. (sem_item::update_hash_by_addr_refs): Hash reference type. (sem_function::equals_private): Do not match DECL_ATTRIBUTES. (sem_variable::equals_wpa): Do not match DECL_ALIGN; match reference use type. (sem_item_optimizer::update_hash_by_addr_refs): Use param_used_p. * ipa-icf.h (compare_attributes, param_used_p): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5be1e9c3d34..2d2b97a0bac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,22 @@
2015-04-23 Jan Hubicka <hubicka@ucw.cz>
+ * ipa-icf.c (sem_item::compare_attributes): New function.
+ (sem_item::compare_referenced_symbol_properties): Compare variable
+ attributes.
+ (sem_item::hash_referenced_symbol_properties): Record DECL_ALIGN.
+ (sem_function::param_used_p): New function.
+ (sem_function::equals_wpa): Fix attribute comparsion; match
+ parameter type codes; do not compare paremter flags when
+ they are not used; compare edge flags; compare indirect calls.
+ (sem_item::update_hash_by_addr_refs): Hash reference type.
+ (sem_function::equals_private): Do not match DECL_ATTRIBUTES.
+ (sem_variable::equals_wpa): Do not match DECL_ALIGN; match
+ reference use type.
+ (sem_item_optimizer::update_hash_by_addr_refs): Use param_used_p.
+ * ipa-icf.h (compare_attributes, param_used_p): Declare.
+
+2015-04-23 Jan Hubicka <hubicka@ucw.cz>
+
* ipa-icf.c (symbol_compare_collection::symbol_compare_collection):
cleanup.
(sem_function::get_hash): Do not hash DECL_DISREGARD_INLINE_LIMITS,