[Bug middle-end/58742] [4.7/4.8/4.9 Regression] pointer arithmetic simplification
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 22 08:26:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58742
--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> ---
Thanks. For reference, as noted by Jakub and confirmed by Richard, we will also
need at some point a gimple version for:
int *
fx (int *b, int *e)
{
ptrdiff_t p = e - b;
return b + p;
}
(or s/ptrdiff_t/long long/, etc.)
More information about the Gcc-bugs
mailing list