This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/58742] [4.7/4.8/4.9 Regression] pointer arithmetic simplification
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Oct 2013 08:25:54 +0000
- Subject: [Bug middle-end/58742] [4.7/4.8/4.9 Regression] pointer arithmetic simplification
- Auto-submitted: auto-generated
- References: <bug-58742-4 at http dot gcc dot gnu dot org/bugzilla/>
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.)