[lno] tree loop optimization causes a problem in RTL alias analysis
Mostafa Hagog
MUSTAFA@il.ibm.com
Mon May 10 13:57:00 GMT 2004
Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote on 10/05/2004
16:06:35:
> Hello,
>
> > I am not sure that this is the problem. Because in a different test
case
> > where the arrays type is char alias.c gets a correct MEM_EXPR and
generates
> > correct alias information. Following is the example I used:
> >
> > char a[128];
> > char b[128];
> >
> > void f ()
> > {
> > int i;
> > for (i = 0; i < 128; i++)
> > a[i] = b[i];
> > }
>
> could you check whether ivopts performs strength reduction in this case?
Yes it does.
> It is well possible that it does not, which would explain the behavior.
>
> Zdenek
More information about the Gcc
mailing list