This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64330] [5 Regression] IPA-ICF merges const exported vars that could be addressable in other TUs
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Dec 2014 13:32:50 +0000
- Subject: [Bug tree-optimization/64330] [5 Regression] IPA-ICF merges const exported vars that could be addressable in other TUs
- Auto-submitted: auto-generated
- References: <bug-64330-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64330
--- Comment #10 from Martin LiÅka <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Dec 18 13:32:18 2014
New Revision: 218864
URL: https://gcc.gnu.org/viewcvs?rev=218864&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-icf.c