repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/84226
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
frv
/
all-tls-global-dynamic.c
blob
2135090f134485b4af0e3c44ffa4d8215b1a04cb
1
/* { dg-options "-ftls-model=global-dynamic -fpic -mfdpic -mno-inline-plt" } */
2
/* { dg-do compile } */
3
extern
__thread
int
x
;
4
extern
void
bar
();
5
int
*
y
;
6
7
void
foo
(
void
)
8
{
9
bar
();
10
y
= &
x
;
11
}
12
/* { dg-final { scan-assembler "call #gettlsoff.x." } } */