[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 1 09:44:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |middle-end
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
32bit ABIs have a ssize_t of 32bits which means you can only describe 31bits
really.  This makes wrapping around of the pointer is undefined.


More information about the Gcc-bugs mailing list