aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-11-14 09:35:05 +0100
committerMartin Liska <marxin@gcc.gnu.org>2019-11-14 08:35:05 +0000
commit5d0152bf59a626fd01b64c95bb8d91d890d93820 (patch)
treeafec3d4e8ffb2c20840fb15f7ed1b2a015f56db4 /gcc
parentaa16689ea76811f6dbd44bcc8ae4b5a6611e18b5 (diff)
downloadgcc-5d0152bf59a626fd01b64c95bb8d91d890d93820.zip
gcc-5d0152bf59a626fd01b64c95bb8d91d890d93820.tar.gz
gcc-5d0152bf59a626fd01b64c95bb8d91d890d93820.tar.bz2
Update dump message in IPA ICF.
2019-11-14 Martin Liska <mliska@suse.cz> * ipa-icf-gimple.c (func_checker::compare_gimple_call): Update bail out reason. (func_checker::compare_gimple_assign): Likewise. From-SVN: r278206
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ipa-icf-gimple.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a23dfc..e6a3cb2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-11-14 Martin Liska <mliska@suse.cz>
+
+ * ipa-icf-gimple.c (func_checker::compare_gimple_call): Update
+ bail out reason.
+ (func_checker::compare_gimple_assign): Likewise.
+
2019-11-14 Jakub Jelinek <jakub@redhat.com>
* 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 7e4ffc8..edb8fd6 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");
}