gcc/testsuite/gcc.dg/tree-ssa/minmax-19.c
raw| 1 | /* PR tree-optimization/109424 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O -fdump-tree-phiopt1-details" } */ |
| 4 | |
| 5 | int f2(int x, int y) |
| 6 | { |
| 7 | return (x > y) ? ~x : ~y; |
| 8 | } |
| 9 | /* { dg-final { scan-tree-dump " = MAX_EXPR" "phiopt1"} } */ |
| 10 | /* { dg-final { scan-tree-dump-times "changed to factor operation out from" 1 "phiopt1"} } */ |