This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/38574] -fvisibility=hidden not affecting thread variables while attribute hidden does.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]