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 rtl-optimization/42617] TARGET_MEM_REF and plain INDIRECT_REFs are not handled by the RTL oracle



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-01-22 15:24 -------
With these patches I get for

void foo(int * __restrict__ a, int * __restrict__ b, int * __restrict__ c,
         int N)
{
  int i;
  for (i = 0; i < N; ++i)
    a[i] = b[i] + c[i];
}

and -O2 -funroll-all-loops all stores scheduled to the bottom of the loop
and all adds to the top of the loop.


-- 


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


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