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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [tls-1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-require-effective-target tls }
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 "declared" }
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.