пн, 5 окт. 2026 г. в 11:31, Georg-Johann Lay <[email protected]>:
>
> This patch fixes wrong code when a noreturn function is compiled
> with -mcall-prologues and the function gets arguments on the stack.
> The bug is that prologue_saves saves more registers than calculated
> by avr_regs_to_save() so that the argument pointer is wrong.
>
> The fix is to behave like avr_regs_to_save(), i.e. don't save any
> regs in a noreturn function so that prologue_saves is not used.
>
> Ok to apply?

Ok.
Please apply

Denis

Reply via email to