Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr89290.c
blob: 89b26f2013a2b4011349b572d2744ad99b474527 [
file
] [
log
] [
blame
]
/* PR target/89290 */
/* { dg-do compile { target { tls && lp64 } } } */
/* { dg-options "-O0 -mcmodel=large" } */
struct
S
{
long
int
a
,
b
;
}
e
;
__thread
struct
S s
;
__thread
struct
S t
[
2
];
void
foo
(
void
)
{
s
=
e
;
}
void
bar
(
void
)
{
t
[
1
]
=
e
;
}