(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr103596.c
       1  /* { dg-do compile } */
       2  /* { dg-additional-options "--param case-values-threshold=1" } */
       3  
       4  int n;
       5  
       6  void
       7  qux (int a)
       8  {
       9  }
      10  
      11  int
      12  baz (void)
      13  {
      14    return -1;
      15  }
      16  
      17  __attribute__ ((returns_twice)) int
      18  bar (int b)
      19  {
      20    if (n != 0)
      21      {
      22        if (b != 2)
      23          if (b != 0)
      24            return n + b;
      25  
      26        if (n == 2)
      27          return 0;
      28      }
      29  }
      30  
      31  void
      32  foo (void)
      33  {
      34    qux (n);
      35    bar (baz ());
      36  }