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

Hans Wennborg hans at chromium.org
Wed Aug 29 01:47:19 PDT 2012


On Wed, Aug 29, 2012 at 9:36 AM, John McCall <rjmccall at apple.com> wrote:
> 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.

Thanks! Landed r162835.

 - Hans



More information about the cfe-commits mailing list