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

--- Comment #10 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:9701432ff79926a5dd3303be3417e0bd0c24140b

commit r13-1376-g9701432ff79926a5dd3303be3417e0bd0c24140b
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jun 30 10:33:40 2022 +0200

    tree-optimization/106131 - wrong code with FRE rewriting

    The following makes sure to not use the original TBAA type for
    looking up a value across an aggregate copy when we had to offset
    the read.

    2022-06-30  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/106131
            * tree-ssa-sccvn.cc (vn_reference_lookup_3): Force alias-set
            zero when offsetting the read looking through an aggregate
            copy.

            * g++.dg/torture/pr106131.C: New testcase.

Reply via email to