Perl 5.23.4 debugging builds added asserts to POPMARK etc that nothing
was underflowing etc. At this point 52-unwind-context.t started failing
with
Perl_pp_return: Assertion `((my_perl->Imarkstack_ptr) >
(my_perl->Imarkstack)) || !"MARK underflow"' failed.
Properly pushing a new mark for pp_return to pop rather than doing it
manually seems to fix this.
dounwind(cxix);
mark = PL_markstack[cxstack[cxix].blk_oldmarksp];
- *PL_markstack_ptr = PL_stack_sp - PL_stack_base - items;
+ PUSHMARK(PL_stack_sp - items);
XSH_D({
I32 gimme = GIMME_V;