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
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
opt-8.c
blob
a7331115352c632de00727174fa651717fac326d
1
/* PR 18910 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
/* { dg-require-effective-target tls } */
5
6
static
__thread
void
*
foo
[
2
];
7
void
8
test1
(
void
)
9
{
10
unsigned int
s
;
11
12
for
(
s
=
0
;
s
<
2
; ++
s
)
13
foo
[
s
] = &
foo
[
s
];
14
}