This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lno] tree loop optimization causes a problem in RTL alias analysis
- From: Mostafa Hagog <MUSTAFA at il dot ibm dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 10 May 2004 16:57:46 +0300
- Subject: Re: [lno] tree loop optimization causes a problem in RTL alias analysis
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