https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
if (lra_reg_info[regno].restore_regno < 0
|| ! bitmap_bit_p (&lra_inheritance_pseudos, regno)
|| (spill_class
= ((enum reg_class)
targetm.spill_class
((reg_class_t) rclass,
PSEUDO_REGNO_MODE (regno)))) == NO_REGS)
doesn't check if targetm.spill_class is non-NULL
