https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69447
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Without knowing the lra-remat code at all, I just wonder if subreg_regs needs to be one per the whole function, rather than say per extended basic block or basic block, with the patch any uses in multi-reg subregs anywhere in the function will affect remat of all other spots where it is used.