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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:6225251b90056f21b5896be46ed2c3c5a823a848

commit r16-6577-g6225251b90056f21b5896be46ed2c3c5a823a848
Author: Richard Biener <[email protected]>
Date:   Thu Jan 8 13:08:57 2026 +0100

    tree-optimization/123310 - wrong aggregate copy VN

    There's a typo in the check against unknown offset when processing
    an aggregate copy during VN, leading to wrong lookup.

            PR tree-optimization/123310
            * tree-ssa-sccvn.cc (vn_reference_lookup_3): Properly
            test against unknown offset.

            * gcc.dg/torture/pr123310.c: New testcase.

Reply via email to