Disable const repl optimisation for empty pattern
authorFather Chrysostomos <sprout@cpan.org>
Fri, 12 Oct 2012 05:51:44 +0000 (22:51 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 12 Oct 2012 06:07:37 +0000 (23:07 -0700)
commitb97b7b693710c4cd463688d004cec42f02c42158
tree884738eb77f70464c1bb36ec70da3cc4452e6a02
parentb29368b8882319244d301988a33bc3432075a9f7
Disable const repl optimisation for empty pattern

s//$a/ cannot assume that the $a expression is going to return the
same value at each iteration, because the last-used pattern may con-
tain code blocks that clobber *a.
op.c
t/lib/warnings/9uninit
t/re/subst.t