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

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

https://gcc.gnu.org/g:1b72d456b2a88218ed440655ef0b9e29b4ef63a9

commit r12-7173-g1b72d456b2a88218ed440655ef0b9e29b4ef63a9
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Feb 10 09:03:48 2022 +0100

    tree-optimization/104466 - fix cut&paste error perventing alias
disambiguation

    The following fixes a cut&paste error in disambiguating using restrict
    info.  Instead of using the for this purpose computed rbase1/rbase2
    which preserve MEM_REF bases even when they are based on a decl the
    code performs the check on the bases that drop info for those ...

    2022-02-10  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/104466
            * tree-ssa-alias.cc (refs_may_alias_p_2): Use rbase1/rbase2
            for the MR_DEPENDENCE checks as intended.

            * gfortran.dg/pr104466.f90: New testcase.

Reply via email to