blob: e8c31cf5046524f47325941f336182be86a017e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { 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;
}
|