Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20030125-1.c
blob: 656304e2d67b10c0354013dd6de027bf6c6ce850 [
file
] [
log
] [
blame
]
int
count
;
int
func
(
int
*
valp
)
{
int
val
,
locked
=
0
;
while
((
val
=
*
valp
)
!=
0
)
{
if
(
count
)
{
if
(
count
)
locked
=
1
;
else
locked
=
1
;
if
(!
locked
)
continue
;
}
if
(!
count
)
count
--;
break
;
}
return
val
;
}