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

--- Comment #22 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <berg...@gcc.gnu.org>:

https://gcc.gnu.org/g:44a13125a0d56dbabb9bc61de7ff8bf94fb57928

commit r13-6745-g44a13125a0d56dbabb9bc61de7ff8bf94fb57928
Author: Peter Bergner <berg...@linux.ibm.com>
Date:   Fri Mar 17 19:01:45 2023 -0500

    lra: Ignore debug insns and notes in combine_reload_insn [PR109179]

    We ICE in combine_reload_insn if we've deleted the TO insn operand during
    processing, because lra_get_insn_recog_data doesn't expect to see the note
    that replaces the deleted insn.  The solution here is to exit early if TO
    is a debug insn or note.

    2023-03-17  Peter Bergner  <berg...@linux.ibm.com>

    gcc/
            PR rtl-optimization/109179
            * lra-constraints.cc (combine_reload_insn): Enforce TO is not a
debug
            insn or note.  Move the tests earlier to guard
lra_get_insn_recog_data.

Reply via email to