[lno] tree loop optimization causes a problem in RTL alias analysis
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Mon May 10 13:58:00 GMT 2004
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?
It is well possible that it does not, which would explain the behavior.
Zdenek
More information about the Gcc
mailing list