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

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

https://gcc.gnu.org/g:1631d6d2910e03e4517079d6e6ad0ae1aeb24dfa

commit r11-9229-g1631d6d2910e03e4517079d6e6ad0ae1aeb24dfa
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.

Reply via email to