]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR119021][LRA]: Fix rtl correctness check failure in LRA.
authorVladimir N. Makarov <vmakarov@redhat.com>
Wed, 26 Feb 2025 16:28:08 +0000 (11:28 -0500)
committerVladimir N. Makarov <vmakarov@redhat.com>
Wed, 26 Feb 2025 16:28:52 +0000 (11:28 -0500)
commit7ce3a8e872d945d537a7e7ba1bd3f45b1cf9a6d2
treeb152859dbde5be91fb744ce201bdec18c9e47231
parent55bf33f37fe3d5acf1d21773587fdaaf9452db28
[PR119021][LRA]: Fix rtl correctness check failure in LRA.

  Patch to fix PR115458 contained a code change in dealing with asm
errors to avoid cycling in reporting the error for asm gotos.  This
code was wrong and resulted in checking RTL correctness failure.  This
patch reverts the code change and solves cycling in asm error
reporting in a different way.

gcc/ChangeLog:

PR middle-end/119021
* lra.cc (lra_asm_insn_error): Use lra_invalidate_insn_data
instead of lra_update_insn_regno_info.
* lra-assigns.cc (lra_split_hard_reg_for): Restore old code.
gcc/lra-assigns.cc
gcc/lra.cc