https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715

--- Comment #14 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #11)
> I think you should do:
> --- gcc/function.c    2020-10-31 17:41:19.756740009 +0100
> +++ gcc/function.c    2020-11-04 17:02:51.199298173 +0100
> @@ -5871,6 +5871,8 @@ gen_call_used_regs_seq (rtx_insn *ret, u
>       continue;
>        if (fixed_regs[regno])
>       continue;
> +      if (!TEST_HARD_REG_BIT (accessible_reg_set, regno))
> +     continue;
>        if (REGNO_REG_SET_P (live_out, regno))
>       continue;
>        if (only_gpr

These should never be live, otherwise reg allocator is faulty.

Reply via email to