(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
phi-opt-22.c
       1  /* PR tree-optimization/97690 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fdump-tree-phiopt2" } */
       4  
       5  int foo (_Bool d) { return d ? 2 : 0; }
       6  int bar (_Bool d) { return d ? 1 : 0; }
       7  int baz (_Bool d) { return d ? -__INT_MAX__ - 1 : 0; }
       8  int qux (_Bool d) { return d ? 1024 : 0; }
       9  
      10  /* { dg-final { scan-tree-dump-not "if" "phiopt2" } } */
      11  /* { dg-final { scan-tree-dump-times " << " 3 "phiopt2" } } */