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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20030125-1.c
blob
656304e2d67b10c0354013dd6de027bf6c6ce850
1
int
count
;
2
3
int
func
(
int
*
valp
) {
4
int
val
,
locked
=
0
;
5
6
while
((
val
= *
valp
) !=
0
) {
7
if
(
count
) {
8
if
(
count
)
9
locked
=
1
;
10
else
11
locked
=
1
;
12
13
if
(!
locked
)
14
continue
;
15
}
16
17
if
(!
count
)
18
count
--;
19
20
break
;
21
}
22
23
return
val
;
24
}