Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
id-pr48648.c
blob: ff58ec23b4d6cc9c7c649d05fb30b6503d1c01d8 [
file
] [
log
] [
blame
]
/* { dg-options "-O -fgraphite-identity" } */
void
*
foo
(
const
void
*
a
);
void
bug48648
()
{
unsigned
char
a
[
2
];
long
b
;
int
i
;
for
(
i
=
0
;
i
<
2
;
i
++)
{
if
(
b
<=
0
)
a
[
i
]
=
0
;
else
if
(
b
>=
8
)
a
[
i
]
=
0
;
else
a
[
i
]
=
0
;
b
-=
8
;
}
foo
(&
a
);
}