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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Signed integer overflow is undefined behaviour, so anything can happen.

Specifically, the compiler is allowed to assume that overflow never happens,
and perform optimisations based on that assumption, so if overflow *does*
happen the results are unpredictable.

Reply via email to