------- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 16:52 ------- The problem here is that the code in patch_binop that converts URSHIFT_EXPR to RSHIFT_EXPR modifies the type and code of the tree in place -- but that is incorrect as it misses the final cast back to a signed type.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13788