On 7/13/23 11:46, Paul Koning via Gcc-patches wrote:


On Jul 13, 2023, at 12:47 PM, Mikael Pettersson <mikpeli...@gmail.com> wrote:

If the stack frame only contains an alloca area, then
pdp11_expand_epilogue fails to deallocate it, resulting
in callee-saved registers and the return address being
restored from the wrong stack slots.  Fixed by adding
|| cfun->calls_alloca to the condition for deallocating
the frame.

Tested with a cross to pdp11-unknown-aout.

Ok for master? (Note: I don't have commit rights.)

Yes, thank you!

Question for the experts: how is this handled?  Do I need to apply this change 
to my workspace and commit it, with Mikael as the change author?
That's what I usually do for someone without write access. commit it locally using the --author flag, then push.

jeff

Reply via email to