This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix crash with: undef *_; shift;
authorFather Chrysostomos <sprout@cpan.org>
Tue, 17 May 2016 07:03:09 +0000 (00:03 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 17 May 2016 07:24:47 +0000 (00:24 -0700)
Commit v5.13.0-149-g538f575 added on optimisation to shift() that
makes pp_shift fetch @_ directly, instead of having two separate ops.

Unfortunately, it used the wrong macro, namely GvAV, instead of GvAVn.
The latter makes sure the array actually exists.


No differences found