re PR ipa/77653 (wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit...
authorMartin Liska <mliska@suse.cz>
Thu, 22 Sep 2016 12:52:09 +0000 (14:52 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 22 Sep 2016 12:52:09 +0000 (12:52 +0000)
commita13f439f47a1b35ed273bfb34a96e01bb6c9c875
tree9891dbd477cab298a615b1c6330961e48b27f24e
parent9ef2eff0d40fb59ee7538148fc8eb25088777297
re PR ipa/77653 (wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes))

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.

From-SVN: r240354
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr77653.c [new file with mode: 0644]