This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ]PATCH] Rewrite part of tree-affine for pointer plus (rest element)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]