https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927
--- Comment #17 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Segher Boessenkool <seg...@gcc.gnu.org>: https://gcc.gnu.org/g:b412ce8e961052e6becea3bc783a53e1d5feaa0f commit r11-8237-gb412ce8e961052e6becea3bc783a53e1d5feaa0f Author: Segher Boessenkool <seg...@kernel.crashing.org> Date: Sat Apr 17 18:06:17 2021 +0000 combine: Don't create REG_UNUSED notes if the reg already died (PR99927) If the register named in an existing REG_UNUSED note dies somewhere between where the note used to be and I3, we should just drop it. 2021-04-21 Segher Boessenkool <seg...@kernel.crashing.org> PR rtl-optimization/99927 * combine.c (distribute_notes) [REG_UNUSED]: If the register already is dead, just drop it.