This is the mail archive of the gcc@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: [lno] tree loop optimization causes a problem in RTL alias analysis


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


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