[Bug middle-end/58742] pointer arithmetic simplification

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 20 10:57:00 GMT 2013


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

--- Comment #14 from Marc Glisse <glisse at gcc dot gnu.org> ---
So we don't forget it, PR 59209 asks to simplify:

(ptr+size)-ptr to size

not just:

ptr1+(ptr2-ptr1) to ptr2



More information about the Gcc-bugs mailing list