This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/58520] New: GCC fails to vectorize loop
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Sep 2013 15:03:21 +0000
- Subject: [Bug tree-optimization/58520] New: GCC fails to vectorize loop
- Auto-submitted: auto-generated
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];