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
gcc/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
opt-10.c
blob
f31c1fff81627259fd9b1924035beab49c757a44
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fpic" } */
3
4
/* The web pass was creating unrecognisable pic_load_dot_plus_four insns
5
on ARM. */
6
7
__thread
int
a_thread_local
;
8
void
*
9
spin
(
int
n
)
10
{
11
int
i
;
12
for
(
i
=
0
;
i
<=
n
;
i
++)
13
{
14
a_thread_local
+=
i
;
15
}
16
}