re PR ipa/65318 (wrong code at -Os and above on x86_64-linux-gnu)
authorMartin Liska <mliska@suse.cz>
Thu, 5 Mar 2015 17:49:49 +0000 (18:49 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 5 Mar 2015 17:49:49 +0000 (17:49 +0000)
commit9374ef820b2e1b5410bfd9ccb4c2dbd023a369c6
tree3a32f1c92334c72cd658898f32c981ab9b792fea
parent2755b64ed5855eddc6f7ae554116870735065632
re PR ipa/65318 (wrong code at -Os and above on x86_64-linux-gnu)

PR ipa/65318
* ipa-icf.c (sem_variable::equals): Compare variables types.
* gcc.dg/ipa/pr65318.c: New test.

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