[Bug middle-end/38574] -fvisibility=hidden not affecting thread variables while attribute hidden does.
hp at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 22:22:00 GMT 2008
------- Comment #1 from hp at gcc dot gnu dot org 2008-12-18 22:21 -------
Oops, forgot the code:
extern __thread char xyzzy[64] __attribute__ ((tls_model
("initial-exec")
#ifdef H
, visibility ("hidden")
#endif
));
char *
foo (void)
{
return xyzzy+9;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38574
More information about the Gcc-bugs
mailing list