From 5d0152bf59a626fd01b64c95bb8d91d890d93820 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 14 Nov 2019 09:35:05 +0100 Subject: [PATCH] Update dump message in IPA ICF. 2019-11-14 Martin Liska * ipa-icf-gimple.c (func_checker::compare_gimple_call): Update bail out reason. (func_checker::compare_gimple_assign): Likewise. From-SVN: r278206 --- gcc/ChangeLog | 6 ++++++ gcc/ipa-icf-gimple.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a23dfc2ac2..e6a3cb2393b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-11-14 Martin Liska + + * ipa-icf-gimple.c (func_checker::compare_gimple_call): Update + bail out reason. + (func_checker::compare_gimple_assign): Likewise. + 2019-11-14 Jakub Jelinek * config/i386/i386-options.c (ix86_omp_device_kind_arch_isa): Don't diff --git a/gcc/ipa-icf-gimple.c b/gcc/ipa-icf-gimple.c index 7e4ffc852a8..edb8fd66e08 100644 --- a/gcc/ipa-icf-gimple.c +++ b/gcc/ipa-icf-gimple.c @@ -579,7 +579,7 @@ func_checker::compare_gimple_call (gcall *s1, gcall *s2) t2 = gimple_call_arg (s2, i); if (!compare_operand (t1, t2)) - return return_false_with_msg ("memory operands are different"); + return return_false_with_msg ("GIMPLE call operands are different"); } /* Return value checking. */ @@ -618,7 +618,8 @@ func_checker::compare_gimple_assign (gimple *s1, gimple *s2) arg2 = gimple_op (s2, i); if (!compare_operand (arg1, arg2)) - return return_false_with_msg ("memory operands are different"); + return return_false_with_msg ("GIMPLE assignment operands " + "are different"); } -- 2.30.2