(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr91632.c
       1  /* PR tree-optimization/91632 */
       2  /* { dg-additional-options "-fwrapv" } */
       3  
       4  static int
       5  __attribute__((noipa))
       6  foo (char x)
       7  {
       8    switch (x)
       9      {
      10      case '"':
      11      case '<':
      12      case '>':
      13      case '\\':
      14      case '^':
      15      case '`':
      16      case '{':
      17      case '|':
      18      case '}':
      19        return 0;
      20      }
      21    return 1;
      22  }
      23  
      24  int
      25  main ()
      26  {
      27    if (foo ('h') == 0)
      28      __builtin_abort ();
      29    return 0;
      30  }