This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]