This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/53335] [4.6,4.7,4.8] pragma visibility(hidden) propagates beyond pop


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..


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]