]> gcc.gnu.org Git - gcc.git/commit
rtl-ssa: Fix handling of deleted insns
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 24 Oct 2023 10:30:52 +0000 (11:30 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 24 Oct 2023 10:30:52 +0000 (11:30 +0100)
commitc97b167e35774e5add4d1079b552383d3fea62dc
treefd6d95ae6e121932f1137bf415a27da9840e4619
parent50313dcdf3324db6d6e522fcaa6ff94dd5de6d3f
rtl-ssa: Fix handling of deleted insns

RTL-SSA queues up some invasive changes for later.  But sometimes
the insns involved in those changes can be deleted by later
optimisations, making the queued change unnecessary.  This patch
checks for that case.

gcc/
* rtl-ssa/changes.cc (function_info::perform_pending_updates): Check
whether an insn has been replaced by a note.
gcc/rtl-ssa/changes.cc
This page took 0.057178 seconds and 5 git commands to generate.