[2/5] Update dump message in IPA ICF.
diff mbox series

Message ID ff6ea270c154a54099c22ca29858f639807be1b9.1573636740.git.mliska@suse.cz
State New
Headers show
Series
  • IPA ICF: more clean up
Related show

Commit Message

Martin Liška Nov. 8, 2019, 7:13 a.m. UTC
gcc/ChangeLog:

2019-11-11  Martin Liska  <mliska@suse.cz>

	* ipa-icf-gimple.c (func_checker::compare_gimple_call): Update
	bail out reason.
	(func_checker::compare_gimple_assign): Likewise.
---
 gcc/ipa-icf-gimple.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Jeff Law Nov. 13, 2019, 7:51 p.m. UTC | #1
On 11/8/19 12:13 AM, Martin Liska wrote:
> 
> gcc/ChangeLog:
> 
> 2019-11-11  Martin Liska  <mliska@suse.cz>
> 
> 	* ipa-icf-gimple.c (func_checker::compare_gimple_call): Update
> 	bail out reason.
> 	(func_checker::compare_gimple_assign): Likewise.
OK
jeff

Patch
diff mbox series

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");
     }