Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
Wstrict-overflow-16.c
blob: e8c31cf5046524f47325941f336182be86a017e8 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow" } */
/* From PR 31522. */
int
f
(
int
x
)
{
int
y
;
if
(
x
<=
4
)
y
=
1
;
else
y
=
x
/
4
;
return
y
<=
0
;
}