diff options
author | Martin Liska <mliska@suse.cz> | 2015-01-19 23:02:04 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-01-19 22:02:04 +0000 |
commit | 6b984df0dadb6a050587b6b161df9d8e976c7ac7 (patch) | |
tree | 107aab6e9d903ca4c46a9af5c70969274ab2246e /gcc/ipa-icf-gimple.c | |
parent | 36035d796755d73bfb62b5b6c6afe19864016dd7 (diff) |
re PR ipa/64668 (internal compiler error: in compare_ssa_name, at ipa-icf-gimple.c:120)
Fix PR64668.
* objc/compile/pr64668.m: New test.
PR ipa/64668
* ipa-icf-gimple.c (func_checker::compare_operand): Call proper
function for second argument of OBJ_TYPE_REF.
From-SVN: r219861
Diffstat (limited to 'gcc/ipa-icf-gimple.c')
-rw-r--r-- | gcc/ipa-icf-gimple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-icf-gimple.c b/gcc/ipa-icf-gimple.c index b35d66c9a45..5b176d019d7 100644 --- a/gcc/ipa-icf-gimple.c +++ b/gcc/ipa-icf-gimple.c @@ -456,7 +456,7 @@ func_checker::compare_operand (tree t1, tree t2) z2 = TREE_OPERAND (t2, 2); ret = compare_ssa_name (x1, x2) - && compare_ssa_name (y1, y2) + && compare_operand (y1, y2) && compare_cst_or_decl (z1, z2); return return_with_debug (ret); |