http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50693
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-10-11 01:24:00 UTC --- The vectorization is not being done for the second version of the loop with the goto. I have not looked into the cause of it though. Note -fno-tree-vectorize shows that the loop is slow for both cases.