http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54013
Bug #: 54013 Summary: Loop with control flow not vectorized Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org Blocks: 53947 ICC manages to vectorize the following loop which happens in Polyhedron mp_prop_design. int foo (float x, float *tab) { int i; for (i = 2; i < 45; ++i) if (x < tab[i]) break; return i - 1; }