Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20110126-1.c

raw
1 /* PR rtl-optimization/44469 */
2 /* Testcase by Siarhei Siamashka <[email protected]> */
3
4 int a (int *t, const char *p)
5 {
6 if (*t == 0)
7 {
8 }
9 else if (*t == 1)
10 {
11 p = (const char *)t;
12 }
13 else
14 __builtin_unreachable();
15 if (p[0])
16 return 0;
17 return 1;
18 }