URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-require-effective-target tls } */
|
/* { dg-require-effective-target tls } */
|
|
|
extern char buf[];
|
extern char buf[];
|
#pragma omp threadprivate (buf) /* { dg-error "has incomplete type" } */
|
#pragma omp threadprivate (buf) /* { dg-error "has incomplete type" } */
|
|
|
void
|
void
|
foo (void)
|
foo (void)
|
{
|
{
|
int i;
|
int i;
|
#pragma omp threadprivate (i) /* { dg-error "automatic variable" } */
|
#pragma omp threadprivate (i) /* { dg-error "automatic variable" } */
|
i = 0;
|
i = 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.