On Mar 1, 2006, at 1:26, Karl Forner wrote:



On 2/25/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote:

> fill the function body of Parrot_register_move() (src/utils.c 633 ff).

Parrot is now using this function [1] for recursive tailcalls. There are
2 new tests in t/compilers/imcc/imcpasm/optc.t.
                                           ^^^^


Probably a naive question : in which branch is Parrot using this function ? Because I got the main one (svn co https://svn.perl.org/parrot/trunk parrot) and this function does not seem to be called when running the t/compilers/imcc/imcpasm/opt.t (using perl t/harness t/compilers/imcc/imcpasm/opt.t) : I put some printf/fprintf(stderr) debugs and can see nothing.

The answer to both is above: opt*c*.t is testing 'parrot -Oc', which enables recursive tailcall optimization. Running the test with t/harness doesn't show the failing test, because it is a TODO test. But:
$ perl -Ilib t/compilers/imcc/imcpasm/optc.t
shows the error.

Thanks
Karl

leo

Reply via email to