On Thu, Dec 11, 2008 at 12:38:11PM +0000, IainS wrote: ... > > I have a hunch that this is, at least partially, the origin of sporadic > failures in crayptr2 (which has been one of the very few tests using tls > so far - because all the rest have been UNSUPPORTED by the fails in dg > target supports). ...
No. The random failures in crayptr2 are due to multiple threads reading an offset value of 0 and is fixed by the proposed patch... http://gcc.gnu.org/bugzilla/attachment.cgi?id=16879 which solves PR35677. I have confirmed this on i686-apple-darwin9 several times now. Jack