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

j3p0uk at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 10 14:02:00 GMT 2005



------- Comment #9 from j3p0uk at hotmail dot com  2005-11-10 14:02 -------
Sorry - I don't mean to pester you, I would just like to clarify your final
point.

What you are saying is that:

Pointer arithmetic is only valid on elements of the same array that are
adjacent, and that any other uses of pointer arithmetic produces undefined
behaviour.


-- 


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



More information about the Gcc-bugs mailing list