]>
Commit | Line | Data |
---|---|---|
55fcaa9a AP |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O2 -fdump-tree-optimized" } */ | |
3 | /* PR tree-optimization/97711 */ | |
4 | ||
5 | int f (int x) { return x & 1 ? x - 1 : x; } | |
6 | ||
7 | /* { dg-final { scan-tree-dump-times " & -2" 1 "optimized" } } */ | |
8 | /* { dg-final { scan-tree-dump-not "if " "optimized" } } */ |