[Bug java/13788] Zero propogate right shift in static final int initializer causes error

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 27 16:52:00 GMT 2005


------- 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



More information about the Java-prs mailing list