blob: c845718943785c9ef2c3de8229ea29c5bd5249fa [file] [log] [blame]
/* PR tree-optimization/106878 */
typedef __INTPTR_TYPE__ intptr_t;
typedef __UINTPTR_TYPE__ uintptr_t;
int a;
int
foo (const int *c)
{
uintptr_t d = ((intptr_t) c | (intptr_t) &a) & 65535 << 16;
intptr_t e = (intptr_t) c;
if (d != (e & 65535 << 16))
return 1;
return 0;
}