[Bug tree-optimization/58520] New: GCC fails to vectorize loop

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 24 15:03:00 GMT 2013


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

            Bug ID: 58520
           Summary: GCC fails to vectorize loop
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Created attachment 30886
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30886&action=edit
C test case

On Intel(R) Xeon(R) CPU E5-2630, the following code doesn't vectorize with GCC
4.9 - but it does with ICC:

  for (yi = 0; yi < ycount - 1; ++yi)
    yheight[yi] = ybins[yi+1] - ybins[yi];



More information about the Gcc-bugs mailing list