https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106960

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Signed integer overflow is undefined behavior.
That is -INT_MIN is undefined behavior.
You need to either use -fwrapv or change the code to use unsigned types to get
defined behavior.

Reply via email to