re PR tree-optimization/64330 (IPA-ICF merges const exported vars that could be addre...
authorMartin Liska <mliska@suse.cz>
Thu, 18 Dec 2014 13:32:18 +0000 (14:32 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 18 Dec 2014 13:32:18 +0000 (13:32 +0000)
commit09cb9532c4c56979b1d9b105e5608ba22b66c5ac
tree952f9315fd36a116ea1d1690fd78c402efe9005d
parent2ddeb89bf572908b3c5432f86c87fde80b58586b
re PR tree-optimization/64330 (IPA-ICF merges const exported vars that could be addressable in other TUs)

Fix for PR64330.

PR tree-optimization/64330
* ipa-icf.c (sem_variable::parse): Add checking
for externally visible symbols and do not introduce
an alias for an external declaration.

From-SVN: r218864
gcc/ChangeLog
gcc/ipa-icf.c