(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr42299.c
       1  /* { dg-options "-g" } */
       2  
       3  void bar (void);
       4  
       5  static int
       6  foo (int x, int y)
       7  {
       8    if (y)
       9      goto lab;
      10    if (x)
      11      y = 0;
      12    if (y)
      13      goto lab;
      14    y = 0;
      15  lab:
      16    return y;
      17  }
      18  
      19  void
      20  baz (int x, int y)
      21  {
      22    y = foo (x, y);
      23    if (y != 0)
      24      bar ();
      25  }