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

--- Comment #14 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:6a6ed1bd9d0b20d0ec0ca6d7ab1e0cefe57db687

commit r10-10463-g6a6ed1bd9d0b20d0ec0ca6d7ab1e0cefe57db687
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Oct 18 09:10:43 2021 +0200

    tree-optimization/102798 - avoid copying PTA info to old SSA names

    The vectorizer duplicates pointer-info to created pointer bases
    but it has to avoid changing points-to info on existing SSA names
    because there's now flow-sensitive info in there (pt->pt_null as
    set from VRP).

    2021-10-18  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/102798
            * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
            Only copy points-to info to newly generated SSA names.

            * gcc.dg/pr102798.c: New testcase.

    (cherry picked from commit 1631d6d2910e03e4517079d6e6ad0ae1aeb24dfa)

Reply via email to