https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:aed52ca415b635463116486865a2a55f947cf8c1

commit r10-10096-gaed52ca415b635463116486865a2a55f947cf8c1
Author: Richard Biener <rguent...@suse.de>
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  <rguent...@suse.de>

            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.

    (cherry picked from commit 50374fdacbd121bc4a61b073e559208ff61bee06)

Reply via email to