URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [tls/] [opt-9.c] - Rev 12
Compare with Previous | Blame | View Log
/* PR 21412 */ /* { dg-do compile */ /* { dg-options "-O2 -fPIC" } */ /* { dg-require-effective-target tls } */ struct S { int x[10]; }; extern __thread struct S s; int *foo() { return &s.x[2]; }