Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr107407.c
blob: 228fce1e6992ac58b8e52ad2aeda2e53f4aa8860 [
file
] [
log
] [
blame
]
/* { dg-do run } */
int
*
a
;
int
c
[
4
];
int
d
;
static
int
f
(
char
k
,
int
j
)
{
for
(;
k
<=
3
;
k
++)
{
a
=
&
c
[
k
];
for
(;
d
<=
1
;
d
++)
*
a
=
3
;
}
*
a
=
0
;
}
int
main
()
{
int
i
;
f
(
0
,
0
);
if
(
c
[
0
]
!=
3
)
__builtin_abort
();
return
0
;
}