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 c/30477] Integer Overflow detection code optimised away, -fwrapv broken



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


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