Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/execute/pr91632.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 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 } |