OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [tls-1.c] - Blame information for rev 378

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
// { dg-do compile }
2
// { dg-require-effective-target tls_native }
3
 
4
int tp1;
5
static int tp2;
6
extern int tp3;
7
 
8
int tp4 = 1;
9
static int tp5 = 1;
10
 
11
#pragma omp threadprivate (tp1, tp2, tp3, tp4, tp5)
12
 
13
#pragma omp threadprivate (undef)       // { dg-error "undeclared" }
14
 
15
int tp6;
16
int foo(void) { return tp6; }
17
 
18
#pragma omp threadprivate (tp6)         // { dg-error "after first use" }

powered by: WebSVN 2.1.0

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