This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: forcing tail/sibling call optimization


<<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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]