https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121198
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Thank you. Does this also fix PR121426, or is that an unrelated problem?
lra-assigns.cc::lra_split_hard_reg_for() reads:
if (fail_p)
EXECUTE_IF_SET_IN_BITMAP (&failed_reload_insns, 0, u, bi)
{
insn = lra_insn_recog_data[u]->insn;
if (asm_noperands (PATTERN (insn)) >= 0)
{
asm_p = true;
lra_asm_insn_error (insn);
}
else if (!asm_p)
{
error ("unable to find a register to spill");
fatal_insn ("this is the insn:", insn);
}
}
so it seems the ICE only represents itself differently in inline asm vs.
machine description.