This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/20643] [4.0/4.1/4.2 Regression] Tree loop optimizer does worse job than RTL loop optimizer



------- 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


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