OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tls/] [pr24428-2.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
/* { dg-require-effective-target tls_runtime } */
4
 
5
__thread double thrtest[81];
6
int main ()
7
{
8
  double *p, *e;
9
  e = &thrtest[81];
10
  for (p = &thrtest[0]; p < e; ++p)
11
    *p = 1.0;
12
  return 0;
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.