This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30477] Integer Overflow detection code optimised away, -fwrapv broken
- 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: 15 Jan 2007 23:56:33 -0000
- Subject: [Bug c/30477] Integer Overflow detection code optimised away, -fwrapv broken
- References: <bug-30477-13924@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 2007-01-15 23:56 -------
Fixed in 4.0.0, 3.4.x is no longer being maintained by the FSF and has not for
a while now.
If you want to figure out how which patch fixed it in 4.0.0, you can do that by
doing a binary regression search on the source. There has been so many patches
between 3.4.x and 4.0.x it is hard to keep track of each one.
If you don't want to move to a newer GCC, that is your issue. Any GCC before
3.3 does not even have -fwrapv so providing all the fixes in one patch is hard
because options handling has changed a couple of time, fold-const.c changed a
lot, etc.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|UNCONFIRMED |RESOLVED
Keywords| |wrong-code
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30477