This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Thread-local storage on IA64 in ILP32 mode
On Sat, Aug 23, 2003 at 02:04:36PM -0700, Mark Mitchell wrote:
> Actually, it seems to me like maybe it should really be:
>
> #if HAVE_AS_TLS && I_HAVE_EXPLICITLY_REQUESTED_TLS
>
> as that would make it less likely to accidentally enable TLS on
> operating systems that don't have it
Eh, maybe. I also don't want to make it too easy to build
the compiler *without* tls support, for systems that are
supposed to have it.
> ... which can cause user confusion.
What kind?
Suppose gcc is build with tls support, but the surrounding system
doesn't have it. Unless the user writes __thread, no one's the
wiser. If they do write __thread, then they get what they deserve.
r~