------- Comment #3 from pinskia at gcc dot gnu dot org  2009-07-29 17:41 -------
>an overflow check in the internal arithmetic gets elided.

Does -Wno-strict-overflow fix the issue?  Does -fwrapv fix the issue?

If so you are depending on overflow being defined as wrapping and the code is
undefined as defined by the standard.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40907

Reply via email to