[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 11 02:17:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|x86_84                      |
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|5.4.1                       |
               Host|Ubuntu 16.04 x86_84         |
         Resolution|---                         |INVALID
      Known to fail|7.2.0, 8.0.1                |

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
signed overflow is undefined behavior at runtime.


More information about the Gcc-bugs mailing list