[cfe-commits] [Patch] The address of a TLS var is not compile-time constant (PR13720)

John McCall rjmccall at apple.com
Wed Aug 29 01:36:43 PDT 2012


On Aug 29, 2012, at 1:18 AM, Hans Wennborg wrote:
> The attached patch makes Clang produce an error for code such as:
> 
>  __thread int x;
>  int *p = &x;

Looks fine to me.

John.



More information about the cfe-commits mailing list