[Bug c/56463] infinite loop when having integer overflow in a simple accumulator

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 26 16:16:00 GMT 2013


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-26 16:15:48 UTC ---
That is a problem with the testcase, not on the gcc side.  If you hit undefined
behavior (signed integer overflow in this case), anything can happen.



More information about the Gcc-bugs mailing list