http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006
--- Comment #1 from John Regehr <regehr at cs dot utah.edu> --- Simpler test case: $ cat small.c int a[10], b; int main() { for (; b <= 0; b++) a[b] = a[0] || b; } $ gcc -O3 small.c small.c: In function ‘main’: small.c:2:5: internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963 int main() { ^ 0xb333d7 vect_transform_stmt(gimple_statement_d*, gimple_stmt_iterator_d*, bool*, _slp_tree*, _slp_instance*) /home/regehr/z/compiler-source/gcc/gcc/tree-vect-stmts.c:5963 0xb363d1 vect_transform_loop(_loop_vec_info*) /home/regehr/z/compiler-source/gcc/gcc/tree-vect-loop.c:5882 0xb5352f vectorize_loops() /home/regehr/z/compiler-source/gcc/gcc/tree-vectorizer.c:373 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.