re PR ipa/65282 (wrong code at -Os and above on x86_64-linux-gnu)
authorMartin Liska <mliska@suse.cz>
Tue, 3 Mar 2015 12:09:13 +0000 (13:09 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 3 Mar 2015 12:09:13 +0000 (12:09 +0000)
commit3c031cbe7c4b1896dd262a373131fc9a7cb58981
tree4c8cef4eead0a474aa8a3293af3880924b0a2f3c
parent2f159d9f86705209595b1b8de719231c2f5fae33
re PR ipa/65282 (wrong code at -Os and above on x86_64-linux-gnu)

Fix PR ipa/65282.

* gcc.dg/ipa/PR65282.c: New test.
PR ipa/65282
* ipa-icf.c (sem_variable::equals): Fix wrong condition.

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