forcing tail/sibling call optimization
Bernd Schmidt
bernds@redhat.com
Mon Nov 27 09:14:00 GMT 2000
On Mon, 27 Nov 2000, Robert Dewar wrote:
> <<IMHO we shouldn't encourage users to rely on gcc being able to optimize
> tail calls. It's a nice optimization, but if a program relies on it for
> correctness, that program is broken.
> >>
>
> That is certainly true in C, but it makes C useless as a target for the
> kind of translation being considered here, where the "optimization" is
> a fundamental requirement. The discussion on the above subject line,
> is all about creating a variant language that WOULD have the required
> semantic characteristics.
My point is that gcc may not be the best starting point for implementing
such a variant language.
Bernd
More information about the Gcc
mailing list