1 /* PR middle-end/45876 */ 2 3 unsigned foo(unsigned x)4 foo (unsigned x) 5 { 6 short i = 0; 7 i = ((short) (((((unsigned) i) >> 1) & 16383) + x)) & 16383; 8 return i; 9 } 10