[Bug tree-optimization/101105] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 13 10:09:20 GMT 2021


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

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

https://gcc.gnu.org/g:641bea75ab2b3567dfa66370dea8b810b504d3cc

commit r9-9770-g641bea75ab2b3567dfa66370dea8b810b504d3cc
Author: Richard Biener <rguenther@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  <rguenther@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.


More information about the Gcc-bugs mailing list