This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26905] default-visibility class symbol improperly resolved as hidden-visibility
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2006 22:00:54 -0000
- Subject: [Bug c++/26905] default-visibility class symbol improperly resolved as hidden-visibility
- References: <bug-26905-11332@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-30 22:00 -------
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) nsINIParser
{
static void Init();
};
__attribute__ ((visibility ("default")))
void
CheckCompatibility(void)
{
nsINIParser::Init();
}
Confirmed, not a regression, with -fPIC this should call a PLT based function
but does not.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|middle-end |c++
Ever Confirmed|0 |1
GCC build triplet|x86_64-unknown-linux-gcc |
GCC host triplet|x86_64-unknown-linux-gcc |
GCC target triplet|x86_64-unknown-linux-gcc |
Keywords| |wrong-code
Known to fail| |4.0.3 4.1.0 4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2006-03-30 22:00:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905