(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
pr107767.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-Os -fdump-tree-switchconv" } */
       3  
       4  int firewall2(const unsigned char *restrict data)
       5  {
       6    const unsigned short dst_port = *((const unsigned short *)data + 32);
       7  
       8    if (dst_port == 15) return 1;
       9    if (dst_port == 23) return 1;
      10    if (dst_port == 47) return 1;
      11    if (dst_port == 45) return 1;
      12    if (dst_port == 42) return 1;
      13    if (dst_port == 1) return 1;
      14    if (dst_port == 2) return 1;
      15    if (dst_port == 3) return 1;
      16  
      17    return 0;
      18  }
      19  
      20  /* { dg-final { scan-tree-dump-not "CSWTCH" "switchconv" } } */