public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38610]  New: local objects not hidden with -fvisibility=hidden.
@ 2008-12-23 12:58 pluto at agmk dot net
  2008-12-23 13:37 ` [Bug c++/38610] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 4+ messages in thread
From: pluto at agmk dot net @ 2008-12-23 12:58 UTC (permalink / raw)
  To: gcc-bugs

void __attribute__((visibility("default"))) foo()
{
        struct local_ex { virtual ~local_ex() {} };
        try { throw local_ex(); } catch ( local_ex const& ) {}
}

13: 0000000000000b50    17 OBJECT  WEAK   DEFAULT   13 _ZTSZ3foovE8local_ex
16: 0000000000200ce0    32 OBJECT  WEAK   DEFAULT   20 _ZTVZ3foovE8local_ex
17: 0000000000000a70    97 FUNC    GLOBAL DEFAULT   11 _Z3foov
19: 0000000000200cc0    16 OBJECT  WEAK   DEFAULT   20 _ZTIZ3foovE8local_ex

is it an expected behaviour (visible local_ex symbols) or a bug?


-- 
           Summary: local objects not hidden with -fvisibility=hidden.
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38610


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-20 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38610-4@http.gcc.gnu.org/bugzilla/>
2012-01-19 23:29 ` [Bug c++/38610] local objects not hidden with -fvisibility=hidden paolo.carlini at oracle dot com
2012-01-20  6:27 ` jason at gcc dot gnu.org
2012-01-20 10:37 ` paolo.carlini at oracle dot com
2008-12-23 12:58 [Bug c++/38610] New: " pluto at agmk dot net
2008-12-23 13:37 ` [Bug c++/38610] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).