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/58520] New: GCC fails to vectorize loop


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


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