http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53335
vincenzo Innocente <vincenzo.innocente at cern dot ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-13 13:10:30 UTC --- feature understood… visibility propagates to functions having as argument hidden structures in #pragma GCC visibility push(hidden) struct H { int i; }; #pragma GCC visibility pop int g(H&h) { return h.i;} g is hidden as well.. makes sense..