re PR ipa/64668 (internal compiler error: in compare_ssa_name, at ipa-icf-gimple...
authorMartin Liska <mliska@suse.cz>
Mon, 19 Jan 2015 22:02:04 +0000 (23:02 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 19 Jan 2015 22:02:04 +0000 (22:02 +0000)
commit6b984df0dadb6a050587b6b161df9d8e976c7ac7
tree107aab6e9d903ca4c46a9af5c70969274ab2246e
parent36035d796755d73bfb62b5b6c6afe19864016dd7
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
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc/compile/pr64668.m [new file with mode: 0644]