diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-04-23 17:25:26 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-04-23 15:25:26 +0000 |
commit | b3587b99fb85f57feaff63b3c37cd15e79ec7804 (patch) | |
tree | d6b15aa51b46d77748d8d4c072013fffecdf527f /gcc/tree.c | |
parent | 9f468990e1a033fb5b2616238e86e78d2506fdfd (diff) | |
download | gcc-b3587b99fb85f57feaff63b3c37cd15e79ec7804.zip gcc-b3587b99fb85f57feaff63b3c37cd15e79ec7804.tar.gz gcc-b3587b99fb85f57feaff63b3c37cd15e79ec7804.tar.bz2 |
ipa-icf.c (sem_item::compare_attributes): New function.
* 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.
From-SVN: r222374
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions