blob: a0ceecc06243e2c470f13a14ed9513cff9d2456f [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target tls_runtime } */
__thread double thrtest[81];
int main ()
{
double *p, *e;
e = &thrtest[81];
for (p = &thrtest[0]; p < e; ++p)
*p = 1.0;
return 0;
}