public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59300] New: visibility computation misses some attributes in namespaces
@ 2013-11-26 14:51 rafael.espindola at gmail dot com
2013-12-08 1:27 ` [Bug c++/59300] " rafael.espindola at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: rafael.espindola at gmail dot com @ 2013-11-26 14:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59300
Bug ID: 59300
Summary: visibility computation misses some attributes in
namespaces
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rafael.espindola at gmail dot com
Given
namespace nfoo {
class foo {
void f();
};
}
namespace nfoo __attribute__((visibility("hidden"))) {
void foo::f() {}
}
gcc trunk r205392 produces a symbol with default visibility. GCC normally
considers the visibility of followup decls, so I was expecting hidden.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/59300] visibility computation misses some attributes in namespaces
2013-11-26 14:51 [Bug c++/59300] New: visibility computation misses some attributes in namespaces rafael.espindola at gmail dot com
@ 2013-12-08 1:27 ` rafael.espindola at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: rafael.espindola at gmail dot com @ 2013-12-08 1:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59300
--- Comment #1 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> ---
clang had an even stranger behavior
(http://llvm.org/bugs/show_bug.cgi?id=18174). I fixed that in a way that it now
agrees with gcc on the testcase in this bug.
It would still be nice to know if the current behavior is intentional or not.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-08 1:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26 14:51 [Bug c++/59300] New: visibility computation misses some attributes in namespaces rafael.espindola at gmail dot com
2013-12-08 1:27 ` [Bug c++/59300] " rafael.espindola at gmail dot com
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).