| 1 |
/* { dg-do run } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
/* { dg-require-effective-target tls_runtime } */ |
| 4 |
/* { dg-add-options tls } */ |
| 5 |
|
| 6 |
__thread double thrtest[81]; |
| 7 |
int main () |
| 8 |
{ |
| 9 |
int i; |
| 10 |
for (i = 0; i < 81; i++) |
| 11 |
thrtest[i] = 1.0; |
| 12 |
return 0; |
| 13 |
} |