[Bug c++/38610] New: local objects not hidden with -fvisibility=hidden.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 12:58:00 GMT 2008
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
More information about the Gcc-bugs
mailing list