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