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/32824] New: Missed reduction vectorizer after store to global is LIM'd


Testcase:
int a[16*100];
int e;
float f(void)
{
  int i;
  for(i = 0;i<16*100;i++)
    e += a[i];
}
rt.c:7: note: not vectorized: unsupported use in stmt.

If I manually LIM'd e, then this is vectorized.


-- 
           Summary: Missed reduction vectorizer after store to global is
                    LIM'd
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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