PR tree-optimization/58508
	* tree-vect-loop-manip.c (vect_loop_versioning): Hoist loop invariant
	statement that contains data refs with zero-step.

	* gcc.dg/vect/pr58508.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203842 138bc75d-0d04-0410-961f-82ee72b054a4