http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53346
--- Comment #11 from Uros Bizjak <ubizjak at gmail dot com> 2012-05-18 16:04:46 UTC --- (In reply to comment #9) > Uneducated guess: is it possible that failed attempts to vectorize may mess up > further optimizations? You are right. -ftree-vectorize implies -ftree-loop-if-convert and this option makes all the difference! -O2 -ftree-vectorize: real 0m24.061s user 0m23.789s sys 0m0.225s -O2 -ftree-vectorize -fno-tree-loop-if-convert real 0m18.029s user 0m17.761s sys 0m0.220s We were barking up to the wrong tree. ;)