This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix IV-opts so it no longer produces MEM[index:]
Hello,
> On 8/1/07, Andrew_Pinski@playstation.sony.com
> > No, this is why we are getting MEM[index:] as generic_type_for for pointer
> > types is unsigned_type_for and unsigned_type_for returns the same size
> > integer as the pointer which is not what we want here really. Maybe we
> > should return the pointer to void type instead?
>
> Here is a new patch with an additional comment on why not converting
> to type is necessary/correct. It also takes into account your comment
> about create_iv.
>
> OK? Bootstrapped and tested on i386-apple-darwin8.10 with no regressions.
the tree-ssa-loop-manip.c and tree-ssa-loop-ivopts.c pieces are OK. I
think you did not fix the tree-affine.c part?
Zdenek