1 /* PR tree-optimization/69615 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-not " >= 0" "optimized" } } */
5 /* { dg-final { scan-tree-dump-not " < 0" "optimized" } } */
6 /* { dg-final { scan-tree-dump-not " <= 23" "optimized" } } */
7 /* { dg-final { scan-tree-dump-not " > 23" "optimized" } } */
9 extern void foo (void);
14 if (x
>= 0 && x
<= __INT_MAX__
- 1)
21 if (x
>= 0 && y
&& x
<= __INT_MAX__
- 1)
28 if (x
> -__INT_MAX__
- 1 && x
<= 23)
35 if (x
> -__INT_MAX__
- 1 && y
&& x
<= 23)