Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr90738.c
blob: b457dd51c688b7b97c0f4642906f380f2864fccd [
file
] [
log
] [
blame
]
/* { dg-do run } */
int
__attribute__
((
noipa
,
noinline
))
foo
(
int
i
)
{
int
a
[
2
];
a
[
1
]
=
1
;
int
j
=
a
[
1
];
int
*
p
=
&
a
[
0
];
p
[
i
]
=
0
;
return
a
[
j
];
}
int
main
()
{
if
(
foo
(
1
)
!=
0
)
__builtin_abort
();
return
0
;
}