1 /* PR tree-optimization/96685 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-times "return 1;" 4 "optimized" } } */
7 f1 (unsigned x
, unsigned y
)
9 unsigned int r1
= (x
- y
);
11 unsigned int r2
= ~(x
- y
);
16 f2 (unsigned x
, unsigned y
)
18 unsigned int r1
= (x
- 23);
20 unsigned int r2
= ~(x
- 23);