Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr88936-3.c
blob: 737b03e8ac07ef1fbcc934ea3ff7b6b25a93157f [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-additional-options "-fipa-pta" } */
static
int
*
p
;
void
bar
(
int
cnt
)
{
if
(
cnt
==
0
)
{
p
=
&
cnt
;
bar
(
1
);
if
(
cnt
!=
1
)
__builtin_abort
();
}
else
if
(
cnt
==
1
)
*
p
=
1
;
}
int
main
()
{
bar
(
0
);
return
0
;
}