http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188
--- Comment #14 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-02-20 12:57:01 UTC --- (In reply to comment #13) > Can/do we mark all clones having hidden visibility? Would a matching regexp > in the linker script override that? Isn't that a bug? I believe they are made static, at least TREE_PUBLIC is cleared for their new decls in cgraph_create_virtual_clone. I think the problem was that the original un-cloned function was exported (because IPA-CP decided to ignore it) rather than the cloned one?