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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr26213.c
blob
7a6600c18d504e857b8923d2822e724beddc5b52
1
void
2
xnanosleep
(
_Bool overflow
)
3
{
4
struct
{
int
tv_nsec
; }
ts_sleep
;
5
if
(
0
<=
ts_sleep
.
tv_nsec
)
6
overflow
|=
1
;
7
8
for
(;;)
9
{
10
if
(
overflow
)
11
ts_sleep
.
tv_nsec
=
0
;
12
if
(
foo
(
ts_sleep
))
13
break
;
14
}
15
}