URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Invalid initializations. */
|
/* Invalid initializations. */
|
/* { dg-require-effective-target tls } */
|
/* { dg-require-effective-target tls } */
|
|
|
extern __thread int i;
|
extern __thread int i;
|
__thread int *p = &i; /* { dg-error "dynamically initialized" } */
|
__thread int *p = &i; /* { dg-error "dynamically initialized" } */
|
|
|
extern int f();
|
extern int f();
|
__thread int j = f(); /* { dg-error "dynamically initialized" } */
|
__thread int j = f(); /* { dg-error "dynamically initialized" } */
|
|
|
struct S
|
struct S
|
{
|
{
|
S();
|
S();
|
};
|
};
|
__thread S s; /* { dg-error "" } two errors here */
|
__thread S s; /* { dg-error "" } two errors here */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.