http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54314
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-26 10:05:58 UTC --- I must say I'm surprised by the gimple-fold.c test, I'd really expect additional && DECL_VISIBILITY (decl) != VISIBILITY_DEFAULT . Another alternative to make those always hidden (which could be an exported ABI change for some shared libraries, though unlikely to be actually a real problem) would be to add some new bit, either in the tree itself, or better in symtab node, which would tell gimple-fold.c not to optimize it. Honza?