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

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

https://gcc.gnu.org/g:c8fe937b4ed5bcb93d6ae6ccdd497a55f1337dae

commit r14-11673-gc8fe937b4ed5bcb93d6ae6ccdd497a55f1337dae
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Apr 10 13:30:42 2025 +0200

    middle-end/119706 - allow POLY_INT_CST as is_gimple_mem_ref_addr

    We currently only INTEGER_CST, but not POLY_INT_CST, which leads
    to the situation that when the POLY_INT_CST is only indrectly
    present via a SSA def the IL is valid but when propagated it's not.
    That's unsustainable.

            PR middle-end/119706
            * gimple-expr.cc (is_gimple_mem_ref_addr): Also allow
            POLY_INT_CST.

    (cherry picked from commit bf812c6ad83ec0b241bb3fecc7e68f883b6083df)

Reply via email to