(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
div-cmp-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -funsafe-math-optimizations -ffinite-math-only -fdump-tree-optimized-raw" } */
       3  
       4  int
       5  cmp_1 (float x)
       6  {
       7    return 5 / x >= 0;
       8  }
       9  
      10  int
      11  cmp_2 (float x)
      12  {
      13    return 1 / x <= 0;
      14  }
      15  
      16  int
      17  cmp_3 (float x)
      18  {
      19    return -2 / x >= 0;
      20  }
      21  
      22  int
      23  cmp_4 (float x)
      24  {
      25    return -5 / x <= 0;
      26  }
      27  
      28  /* { dg-final { scan-tree-dump-not "rdiv_expr" "optimized" } } */