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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
gcc.target
/
frv
/
all-tls-local-exec-TLS.c
blob
83f78de4e7665d276dca466c907f5765c5ba27b7
1
/* { dg-options "-ftls-model=local-exec -mfdpic -mTLS" } */
2
/* { dg-do compile } */
3
static
__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 "sethi.*tlsmoffhi\\(x\\)," } } */