This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53335] [4.6,4.7,4.8] pragma visibility(hidden) propagates beyond pop
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 May 2012 13:10:30 +0000
- Subject: [Bug middle-end/53335] [4.6,4.7,4.8] pragma visibility(hidden) propagates beyond pop
- Auto-submitted: auto-generated
- References: <bug-53335-4@http.gcc.gnu.org/bugzilla/>
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..