[Bug c/24756] pointer arithmetic on ia32 uses signed divide

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 13:58:00 GMT 2005



------- Comment #8 from pinskia at gcc dot gnu dot org  2005-11-10 13:58 -------
If pointer1 and pointer2 are not in the same array (+-1 element), the behavior
is undefined so what GCC is doing for your case is fine.


-- 

pinskia at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list