repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
opt-10.c
blob
a710a062ca376113342f8ef7a0b35825d18e13a2
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fpic" } */
3
/* { dg-require-effective-target tls } */
4
5
/* The web pass was creating unrecognisable pic_load_dot_plus_four insns
6
on ARM. */
7
8
__thread
int
a_thread_local
;
9
void
*
10
spin
(
int
n
)
11
{
12
int
i
;
13
for
(
i
=
0
;
i
<=
n
;
i
++)
14
{
15
a_thread_local
+=
i
;
16
}
17
}