This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ]PATCH] Rewrite part of tree-affine for pointer plus (rest element)
- From: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 Jul 2007 20:38:47 +0200
- Subject: Re: ]PATCH] Rewrite part of tree-affine for pointer plus (rest element)
- References: <de8d50360707180555t69641248u32913a9bde7a1286@mail.gmail.com>
Hello,
> This patch fixes the affine errors when more than MAX_AFF_ELTS level
> of an affine are used for a pointer type. The fix is simple and use
> sizetype for rest instead of the pointer type (it will most likely be
> sizetype already anyways).
>
> OK?
in general, this change seems fine to me; but IMHO we should have more
precise rules for the types of the elements of the affine combination
in case of pointers (I will need to think more about what these
invariants should be, we can discuss that in person now at the gccsummit
:-)
Zdenek