void foo (unsigned char *x, short y) { short i; i = 2; while (i < y) { x[i - 1] = x[i]; i = i + 1; } }
ICEs at -O3 on x86_64-linux in 4.3/4.4, works in 4.2 with -O3 -ftree-vectorize. -- Summary: [4.3/4.4 Regression] ICE in vect_update_ivs_after_vectorizer Product: gcc Version: 4.3.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36630