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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tls/] [diag-6.c] - Rev 307

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

/* Invalid tls_model attributes.  PR 35435.  */
/* { dg-require-effective-target tls } */
 
int v __attribute__((tls_model("initial-exec"))); /* { dg-warning "attribute ignored" } */
typedef int X __attribute__((tls_model("initial-exec"))); /* { dg-warning "attribute ignored" } */
void f(int x __attribute__((tls_model("initial-exec")))); /* { dg-warning "attribute ignored" } */
__thread int a __attribute__((tls_model(1))); /* { dg-error "tls_model argument not a string" } */
__thread int b __attribute__((tls_model("unknown"))); /* { dg-error "tls_model argument must be one of" } */
 

Go to most recent revision | 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.