[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-3dldf] Re: [metafont] Re: [metapost] recursion in MP/ MF [was: all
From: |
Laurence Finston |
Subject: |
[help-3dldf] Re: [metafont] Re: [metapost] recursion in MP/ MF [was: all intersections between two paths] |
Date: |
Tue, 18 Jan 2005 10:09:12 +0100 (MET) |
On Tue, 18 Jan 2005, Lars Engebretsen wrote:
> It could depend on the backend. I'm not an expert in SPARC
> assembler, but it seems that with that back end, the stack frame
> for the current recursive call is removed during the delay slot
> corresponding to the next recursive function call.
>
> I generated the assembler code with
>
> g++ -S -foptimize-sibling-calls testrcrs.cc
>
> using gcc 3.4.2.
>
Thanks for your answer. Please excuse my obtuseness, but I don't
understand it. Does this mean that the compiler is causing tail recursion
to be performed? If so, is this disabled when you use the `-g' option?
Or does the problem lie with GDB?
Laurence