[PATCH 7/9] IPA ICF: remove dead code
Martin Liska
mliska@suse.cz
Tue Aug 6 15:43:00 GMT 2019
gcc/ChangeLog:
2019-07-24 Martin Liska <mliska@suse.cz>
* ipa-icf-gimple.c (func_checker::compare_ssa_name): Call
compare_operand.
(func_checker::compare_memory_operand): Remove.
(func_checker::compare_cst_or_decl): Remove.
(func_checker::operand_equal_valueize): Do not handle
FIELD_DECL.
(func_checker::compare_gimple_call): Call compare_operand.
(func_checker::compare_gimple_assign): Likewise.
* ipa-icf-gimple.h: Remove compare_cst_or_decl.
* ipa-icf.c (sem_function::icf_handled_component_p): Remove.
* ipa-icf.h (icf_handled_component_p): Remove.
---
gcc/ipa-icf-gimple.c | 150 ++-----------------------------------------
gcc/ipa-icf-gimple.h | 4 --
gcc/ipa-icf.c | 11 ----
gcc/ipa-icf.h | 3 -
4 files changed, 6 insertions(+), 162 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-IPA-ICF-remove-dead-code.patch
Type: text/x-patch
Size: 8023 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190806/d236e3ee/attachment.bin>
More information about the Gcc-patches
mailing list