https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65747
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sun Apr 12 19:30:51 2015 New Revision: 222024 URL: https://gcc.gnu.org/viewcvs?rev=222024&root=gcc&view=rev Log: PR tree-optimization/65747 * ipa-icf-gimple.c (func_checker::compare_operand): Use compare_operand rather than compare_ssa_name for OBJ_TYPE_REF_OBJECT. * g++.dg/torture/pr65747.C: New test. Added: trunk/gcc/testsuite/g++.dg/torture/pr65747.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-icf-gimple.c trunk/gcc/testsuite/ChangeLog