Fix PR ipa/77653
commit53769cc871cfe26da85d767bfbb34eb81da60551
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Sep 2016 12:52:09 +0000 (22 12:52 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Sep 2016 12:52:09 +0000 (22 12:52 +0000)
tree9891dbd477cab298a615b1c6330961e48b27f24e
parent0a547de2f938268f1df232168c5eaea37be9c02e
Fix PR ipa/77653

PR ipa/77653
* gcc.dg/ipa/pr77653.c: New test.
PR ipa/77653
* ipa-icf.c (sem_variable::merge): Yield merge operation if
alias address matters, not necessarily address of original.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240354 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr77653.c [new file with mode: 0644]