for unops (via newUNOP() and ck_eof()).
(analysis okay, patch bad: see #15439)
p4raw-id: //depot/perl@15434
OP *newop = newGVOP(OP_GV, 0,
gv_fetchpv(SvPVx(((SVOP*)kid)->op_sv, n_a), TRUE,
SVt_PVIO) );
- if (kid == cLISTOPo->op_last)
+ if ((o->op_flags & OPf_KIDS) &&
+ kid == cLISTOPo->op_last)
cLISTOPo->op_last = newop;
op_free(kid);
kid = newop;