This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/22166] 0x80000000/-1 is wrong in java
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2005 19:14:27 -0000
- Subject: [Bug java/22166] 0x80000000/-1 is wrong in java
- References: <20050623160559.22166.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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