Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
ubsan
/
pr81505.c
blob: 1cebef56172f9c344d0e375a26dd7bb20b2c0d6d [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O3 -fsanitize=signed-integer-overflow" } */
int
a
,
b
,
c
,
h
;
int
i
[
5
][
5
];
void
fn1
()
{
int
l
=
0
;
for
(
a
=
0
;
a
<=
3
;
a
++)
for
(
b
=
1
;
b
>=
0
;
b
-=
1
)
l
|=
i
[
0
][
b
];
c
=
l
;
}