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

--- Comment #3 from GCC 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:af6d8d0cc1ac56eba55ef658c664236208f88169

commit r14-8950-gaf6d8d0cc1ac56eba55ef658c664236208f88169
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Feb 13 10:04:31 2024 +0100

    tree-optimization/113898 - ICE with sanity checking for VN ref adjustment

    The following fixes a missing add to the accumulated offset when
    adjusting an ARRAY_REF op for value-ranges applied to by
    get_ref_base_and_extent.

            PR tree-optimization/113898
            * tree-ssa-sccvn.cc (copy_reference_ops_from_ref): Add
            missing accumulated off adjustment.

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

Reply via email to