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