Filter out all free calls to static SVs/OPs on the final stack cleanup. We really only need my_leave_scope at fast_perl_destruct and at the end of my_perl_run to protect cv_undef with t/testc.sh 169 #303 (Attribute::Handler leaving CVs on the stask). Use old 5.14 leave_scope code, not the new ARG macros we use a push/pop, not direct access. and we do want to reliably Fixes #303, just not with 5.18 (static padlist) and 5.10.1 threaded yet.
…_clean_objs the cause for the io_close problem was that PerlIO_cleanup was called before sv_clean_objs. global destruction -O3 looks better now Fixes #302 CORE--op--utf8cache.t, CORE--op--lex_assign.t, CORE--io--openpid.t
add my_io_close to @static_free on 5.8 and blessed filehandles to close the static file or dir before sv_clean_objs() tries to free the static xpvio. Fixes testcc 22
simplify special CvSTART cases: start cop is always stored, with more local info
use now CopSTASHPV_set, and add 5.16 special case from B::C
we need to check in the tests for $0 for comparing diagnostics
get rid of static inits, static_free cop_list is now dead code protect from double initialization for a CvSTART cop or CvROOT cop