This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27116] [4.2 Regression] Incorrect integer division (wrong sign).
- From: "vincent at vinc17 dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Apr 2006 15:46:33 -0000
- Subject: [Bug c/27116] [4.2 Regression] Incorrect integer division (wrong sign).
- References: <bug-27116-12512@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from vincent at vinc17 dot org 2006-04-11 15:46 -------
(In reply to comment #4)
> I mean the middle-end probably does some "interesting" foldings of -2147483647L
> - 1L as the result -080000000 has the overflow flag set.
The bug also occurs with: (long) -2147483648LL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27116