Re: [C--] Looking for a C-- to C translator.

Matthieu Lemerre <[email protected]> Mon, 11 Aug 2008 17:54:46 +0200
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
Basile STARYNKEVITCH <[email protected]> writes:

> Hello All
>
> Ning Wang wrote:
>> 
>> Tailrecursion can be translated into loop right?
>
> Not in the general case when you tail-call an unknown function (unless 
> you are thinking of whole program optimisations), e.g. a function variable.

Is this still true if you use GCC with the option
-foptimize-sibling-calls?

_______________________________________________
Cminusminus mailing list
[email protected]
https://cminusminus.org/mailman/listinfo/cminusminus