This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR21082 for C++
On Sun, Apr 24, 2005 at 07:57:35PM +0200, Richard Guenther wrote:
> While this would be possible, I fail to see the advantage of doing this.
> You will end up in (ptrdiff_t)((domain_t)i - (domain_t)j) instead of
> (ptrdiff_t)i - (ptrdiff_t)j. Are you concerned about correctness or about
> more folding oportunities here?
Conceptual correctness. I don't like the idea of multiplying pointers.
r~