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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tls/] [diag-6.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* Invalid tls_model attributes.  PR 35435.  */
2
/* { dg-require-effective-target tls } */
3
 
4
int v __attribute__((tls_model("initial-exec"))); /* { dg-warning "attribute ignored" } */
5
typedef int X __attribute__((tls_model("initial-exec"))); /* { dg-warning "attribute ignored" } */
6
void f(int x __attribute__((tls_model("initial-exec")))); /* { dg-warning "attribute ignored" } */
7
__thread int a __attribute__((tls_model(1))); /* { dg-error "tls_model argument not a string" } */
8
__thread int b __attribute__((tls_model("unknown"))); /* { dg-error "tls_model argument must be one of" } */

powered by: WebSVN 2.1.0

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