re PR middle-end/65747 (ICE (in compare_ssa_name, at ipa-icf-gimple.c:134) on x86_64...
authorJakub Jelinek <jakub@redhat.com>
Sun, 12 Apr 2015 19:30:51 +0000 (21:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 12 Apr 2015 19:30:51 +0000 (21:30 +0200)
commitb6e55e484b2ab28f8367e19146da825f084441f6
tree82027c41b30e45c70d7cbb684a70a2c930e7f776
parent7d9ea335a2ab468316fcfbba33668ec270808751
re PR middle-end/65747 (ICE (in compare_ssa_name, at ipa-icf-gimple.c:134) on x86_64-linux-gnu)

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.

From-SVN: r222024
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr65747.C [new file with mode: 0644]