Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr44050.c
blob: 931eff6ff2c2a9ad3d848d52f27e6efa7fe647ad [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-fno-tree-pta" } */
static
void
__attribute__
((
noinline
))
foo
(
int
*
i
,
int
n
)
{
*
i
=
n
;
}
int
main
(
void
)
{
int
i
=
0
;
foo
(&
i
,
1
);
if
(
i
!=
1
)
__builtin_abort
();
return
0
;
}