(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr83396.c
       1  /* PR bootstrap/83396 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-g" } */
       4  
       5  int fn1 (void);
       6  void fn2 (void *, const char *);
       7  void fn3 (void);
       8  
       9  void
      10  fn4 (long long x)
      11  {
      12    fn3 ();
      13  }
      14  
      15  void
      16  fn5 (long long x)
      17  {
      18    if (x)
      19      fn3();
      20  }
      21  
      22  void
      23  fn6 (long long x)
      24  {
      25    switch (fn1 ())
      26      {
      27      case 0:
      28        fn5 (x);
      29      case 2:
      30        fn2 (0, "");
      31        break;
      32      case 1:
      33      case 3:
      34        fn4(x);
      35      case 5:
      36        fn2 (0, "");
      37      }
      38  }