1 /* PR tree-optimization/91632 */ 2 /* { dg-additional-options "-fwrapv" } */ 3 4 static int 5 __attribute__((noipa)) foo(char x)6foo (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 main()25main () 26 { 27 if (foo ('h') == 0) 28 __builtin_abort (); 29 return 0; 30 } 31