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.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [tls-1.c] - Rev 154

Compare with Previous | Blame | View Log

// { dg-do compile }
// { dg-require-effective-target tls }
 
int tp1;
static int tp2;
extern int tp3;
 
int tp4 = 1;
static int tp5 = 1;
 
#pragma omp threadprivate (tp1, tp2, tp3, tp4, tp5)
 
#pragma omp threadprivate (undef)	// { dg-error "undeclared" }
 
int tp6;
int foo(void) { return tp6; }
 
#pragma omp threadprivate (tp6)		// { dg-error "after first use" }
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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