gcc/testsuite/gcc.dg/tree-ssa/phi-opt-31.c
raw| 1 | /* PR tree-optimization/94898 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -fdump-tree-optimized-raw" } */ |
| 4 | |
| 5 | |
| 6 | _Bool f(int x, int y) |
| 7 | { |
| 8 | if (x >= y) |
| 9 | return x - y; |
| 10 | return 0; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-tree-dump-not "gimple_cond " "optimized" } } */ |
| 14 | /* { dg-final { scan-tree-dump-times "gt_expr," 1 "optimized" } } */ |
| 15 | /* { dg-final { scan-tree-dump-not "ne_expr," "optimized" } } */ |