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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
pr47715-5.c
blob
ca3410df7398e7ef9f664c8002b6954f2e160450
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
/* { dg-require-effective-target tls } */
4
5
extern
__thread
int
__libc_errno
__attribute__
((
tls_model
(
"initial-exec"
)));
6
;
7
int
*
8
__errno_location
(
void
)
9
{
10
return
&
__libc_errno
;
11
}