This seems to fix it, is it correct? (Untested as I'm still waiting for a bootstrap to finish)
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 4b35726..827fd4d 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -1216,11 +1216,13 @@ check_and_process_move (bool *change_p, bool *sec_mem_p) = (enum reg_class) targetm.secondary_reload (true, sreg, (reg_class_t) dclass, sreg_mode, &sri); +#if ENABLE_ASSERT_CHECKING /* Check the target hook consistency. */ lra_assert ((secondary_class == NO_REGS && sri.icode == CODE_FOR_nothing) || (old_sclass == NO_REGS && old_sri.icode == CODE_FOR_nothing) || (secondary_class == old_sclass && sri.icode == old_sri.icode)); +#endif } if (sregno >= 0) reg_renumber [sregno] = -1;