Sign in
llvm
/
llvm-archive
/
0b77ac699583dcf734b000496ba386cb185b119c
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
opt-9.c
blob: cb2dac4a4c8b8f8db731a2cb9745846e95faac2f [
file
] [
log
] [
blame
]
/* PR 21412 */
/* { dg-do compile */
/* { dg-options "-O2 -fPIC" } */
/* { dg-error "" "unrecognizable insn" { target sparc*-*-* } 0 } */
struct
S
{
int
x
[
10
];
};
extern
__thread
struct
S s
;
int
*
foo
()
{
return
&
s
.
x
[
2
];
}