Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr69740-2.c
blob: a89c9a0fd12e972bd1605345acffc2422ebdf721 [
file
] [
log
] [
blame
]
inline
int
foo
(
int
*
p1
,
int
p2
)
{
int
z
=
*
p1
;
while
(
z
>
p2
)
p2
=
2
;
return
z
;
}
int
main
()
{
int
i
;
for
(;;)
{
int
j
,
k
;
i
=
foo
(&
k
,
7
);
if
(
k
)
j
=
i
;
else
k
=
j
;
if
(
2
!=
j
)
__builtin_abort
();
}
}