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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.target
/
frv
/
all-tls-local-dynamic.c
blob
4680a98f4eaf359de8fa10323084b1de04087fce
1
/* { dg-options "-ftls-model=local-dynamic -fpic -mfdpic" } */
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 "gettlsoff\\(0\\)" } } */
13
/* { dg-final { scan-assembler "tlsmoff12" } } */