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

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

https://gcc.gnu.org/g:0ab14cf1b4c0c129e6bc7b208686b9caa942a597

commit r16-6286-g0ab14cf1b4c0c129e6bc7b208686b9caa942a597
Author: Vladimir N. Makarov <[email protected]>
Date:   Fri Dec 19 13:22:49 2025 -0500

    [PR123223, LRA]: Fix ICE of GCC built with checking rtl

    The latest PR55212 patch improving dealing with scratch pseudos does not
    check reload rtx on reg when recognizing scratch pseudos.  This
    results in failure of GCC built with checking rtl.

    gcc/ChangeLog:

            PR rtl-optimization/123223
            * lra-constraints.cc (match_reload, curr_insn_transform): Check
            rtx on REG when testing scratch pseudos.

Reply via email to