[Bug tree-optimization/64330] [5 Regression] IPA-ICF merges const exported vars that could be addressable in other TUs
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 18:09:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64330
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Kostya Serebryany from comment #4)
> So, maybe the ODR checker in the current form is not that useless.
> Sorry, couldn't resist :)
But it isn't really an ODR checker. Here it complains if two different symbols
share the same storage. Which is fine if they aren't address taken and can't
be address taken elsewhere.
More information about the Gcc-bugs
mailing list