Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr106878.c

raw
1 /* PR tree-optimization/106878 */
2
3 typedef __INTPTR_TYPE__ intptr_t;
4 typedef __UINTPTR_TYPE__ uintptr_t;
5 int a;
6
7 int
8 foo (const int *c)
9 {
10 uintptr_t d = ((intptr_t) c | (intptr_t) &a) & 65535 << 16;
11 intptr_t e = (intptr_t) c;
12 if (d != (e & 65535 << 16))
13 return 1;
14 return 0;
15 }