Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr107570.c
blob: ba5b535a867201b979270257078232e2b103b270 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Os" } */
long
int
n
;
void
foo
(
int
*
p
,
int
x
)
{
for
(;;)
{
for
(*
p
=
0
;
*
p
<
1
;
++*
p
)
{
n
+=
*
p
<
0
;
if
(
n
<
x
)
{
while
(
x
<
1
)
++
x
;
__builtin_unreachable
();
}
}
p
=
&
x
;
}
}