(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr105835.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O1 -fdump-tree-optimized" } */
       3  
       4  void foo();
       5  
       6  static int b;
       7  
       8  static short a(short c, unsigned short d) { return c - d; }
       9  
      10  int main() {
      11      int e = -(0 < b);
      12      if (a(1, e))
      13          b = 0;
      14      else
      15          foo();
      16  }
      17  
      18  /* { dg-final { scan-tree-dump-not "goto" "optimized" } } */