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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tls/] [diag-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Valid __thread specifiers.  */
2
/* { dg-require-effective-target tls } */
3
 
4
__thread int g1;
5
extern __thread int g2;
6
static __thread int g3;
7
 
8
void foo()
9
{
10
  extern __thread int l1;
11
  static __thread int l2;
12
}

powered by: WebSVN 2.1.0

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