[Bug java/22166] 0x80000000/-1 is wrong in java

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 30 19:14:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-08-30 19:14 -------
(In reply to comment #3)
> Actually, this looks like a more generic problem, not limited to Java.

In C, signed overflow is undefined, so any result or behavior would be
acceptable.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22166



More information about the Java-prs mailing list