On Tue, Nov 13, 2012 at 09:01:57AM +0100, Father Chrysostomos wrote:
> commit 110af9080c3bd18406d1518c3c9e8cde8aa72e18
> Author: Father Chrysostomos <
spr...@cpan.org>
> Date: Mon Nov 12 16:04:07 2012 -0800
>
> Stop goto &sub from leaking when it croaks
>
> M pp_ctl.c
> M t/op/svleak.t
One of the tests introduced in this commit fails under -Dmad:
tony@mars:.../perl/t$ ./perl op/svleak.t
1..67
ok 1 - basic check 1 of leak test infrastructure
ok 2 - basic check 2 of leak test infrastructure
ok 3 - basic check 3 of leak test infrastructure
ok 4 - sub{<*>}
ok 5 - goto &sub in eval
ok 6 - goto &sub in sort
not ok 7 - goto &sub in regexp
# Failed test 7 - goto &sub in regexp at op/svleak.t line 32
# got "2"
# expected <= "1"
ok 8 - local $tied[0]
ok 9 - trie leak
ok 10 - void grep expr: no new tmps per iter
ok 11 - void grep block: no new tmps per iter
...
though it appears to try to account for -Dmad (using eleak).
Tony