[Bug c++/26905] default-visibility class symbol improperly resolved as hidden-visibility
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 30 22:00:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list