(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
pr96967.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fshort-enums" } */
       3  
       4  enum re {
       5    o3,
       6  };
       7  
       8  int
       9  uj (int mq, enum re dn)
      10  {
      11    enum re nr = mq;
      12  
      13    switch (nr)
      14      {
      15      case 4:
      16        if (dn == 0)
      17          goto wdev_inactive_unlock;
      18        break;
      19  
      20      default:
      21        break;
      22      }
      23  
      24    switch (nr)
      25      {
      26      case 0:
      27      case 4:
      28        return 0;
      29  
      30      default:
      31        break;
      32      }
      33  
      34   wdev_inactive_unlock:
      35    return 1;
      36  }