------- Comment #11 from anemo at mba dot ocn dot ne dot jp  2006-07-16 13:21 
-------
I have a similer optimization problem with this tiny function.

void foo(int *a)
{
        int i;
        for (i = 0; i < 100; i++)
                a[0] += a[1];
}

All gcc 4.x I tried generate load and store in inner loop.
On http://gcc.gnu.org/ml/gcc/2006-07/msg00282.html, I posted some results.
Is this a same probelm?  If not, I should file another bug report.  Thank you.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20643

Reply via email to