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/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
pr47715-1.c
blob
ef8c5394a909d0d07b9d2cec46933f967c6b45ea
1
/* { dg-do compile } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-options "-O2 -fPIC" } */
4
/* { dg-require-effective-target tls } */
5
6
extern
__thread
int
h_errno
;
7
int
*
8
__h_errno_location
(
void
)
9
{
10
return
&
h_errno
;
11
}