This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37503] autoconf detects g++ as having a remainder bug
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2008 20:17:49 -0000
- Subject: [Bug c++/37503] autoconf detects g++ as having a remainder bug
- References: <bug-37503-14772@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-12 20:17 -------
INT_MIN % -1 is undefined as INT_MIN/-1 is undefined. The reason why
INT_MIN/-1 is undefined is because - INT_MIN overflows. So this is not a GCC
bug but a PPL bug. Report this to them.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37503