changed by mg_get(*keysp) (!). Introducing a new local variable
fixed it but I don't know if it's a compiler problem or some
other corruption happening elsewhere.
p4raw-id: //depot/perl@269
keysp = av_fetch(av, 0, FALSE);
if (keysp) {
- if (SvGMAGICAL(*keysp))
- mg_get(*keysp);
- if (SvROK(*keysp)) {
- SV *hash = SvRV(*keysp);
- if (SvTYPE(hash) == SVt_PVHV)
- keys = (HV*)hash;
+ SV *sv = *keysp;
+ if (SvGMAGICAL(sv))
+ mg_get(sv);
+ if (SvROK(sv)) {
+ sv = SvRV(sv);
+ if (SvTYPE(sv) == SVt_PVHV)
+ keys = (HV*)sv;
}
}
if (!keys)