A simple program like the following could coredump:
use charnames ':full';
/\N{LATIN SMALL LETTER E}/;
The moral being, make sure sp is synced on return from call_sv()
*before* using the stack!
(Was a regression since 5.10)
PUTBACK ;
count= call_sv(cv, G_SCALAR);
+ SPAGAIN ;
if (count == 1) { /* XXXX is this right? dmq */
sv_str = POPs;
SvREFCNT_inc_simple_void(sv_str);
}
- SPAGAIN ;
PUTBACK ;
FREETMPS ;
LEAVE ;