[Bug tree-optimization/64330] [5 Regression] IPA-ICF merges const exported vars that could be addressable in other TUs
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 13:32:00 GMT 2014
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
More information about the Gcc-bugs
mailing list