(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
pr71947-6.c
       1  /* This is highly dependent on branch costing, so make it opt-in.  */
       2  /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
       3  /* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom-details" } */
       4  
       5  
       6  int f(int x, int y, int a, int b)
       7  {
       8    int ret = 10;
       9    if (a == x
      10        && b == y
      11        && a == b)
      12      ret = x - y;
      13  
      14    return ret;
      15  }
      16  
      17  /* { dg-final { scan-tree-dump "Folded to: ret_\[0-9\]+ = 0;"  "dom2" { xfail *-*-* } } } */