http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57613
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2013-06-17 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I don't think it works that way, hidden visibility makes it non-exported from the dynamic object but it's still visible inside the object. You probably want to mark it local instead?