To turn on the vectorizer output you have to use several optimization flags -ftree-vectorize -fdump-tree-vect -ftree-vectorizer-verbose=2 when you compile with these flags (I made a makefile variable for them) it will produce an output file with a .vect file extension. If you look at this file it will tell you which loops in your code were vectorized.