IPA ICF: remove dead code
authorMartin Liska <mliska@suse.cz>
Wed, 30 Oct 2019 12:01:45 +0000 (13:01 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Oct 2019 12:01:45 +0000 (12:01 +0000)
commit938bba616d438fadf604fdea50395d3fe356ef72
tree577c4b6a23cc84966663c84be43693c50758fe0f
parent8a319aa3c28ee2069a78cff6b09d1b2df21b0f3c
IPA ICF: remove dead code

2019-10-30  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.

From-SVN: r277616
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/ipa-icf-gimple.h
gcc/ipa-icf.c
gcc/ipa-icf.h