This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 7/9] IPA ICF: remove dead code
On 7/24/19 6:24 AM, Martin Liska wrote:
>
> 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(-)
>
OK for the trunk once any prereqs are approved.
Jeff