summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tls/pr24428.c
blob: ecb747ede6de74fb1bb13478c0613abf5c2420f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target tls_runtime } */

__thread double thrtest[81];
int main ()
{
  int i;
  for (i = 0; i < 81; i++)
    thrtest[i] = 1.0;
  return 0;
}