https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:50374fdacbd121bc4a61b073e559208ff61bee06 commit r12-1765-g50374fdacbd121bc4a61b073e559208ff61bee06 Author: Richard Biener <[email protected]> Date: Wed Jun 23 12:43:03 2021 +0200 tree-optimization/101105 - fix runtime alias test optimization We were ignoring DR_STEP for VF == 1 which is OK only in case the scalar order is preserved or both DR steps are the same. 2021-06-23 Richard Biener <[email protected]> PR tree-optimization/101105 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Only ignore steps when they are equal or scalar order is preserved. * gcc.dg/torture/pr101105.c: New testcase.
