On Tue, May 6, 2008 at 9:33 PM, Raymond Toy (RT/EUS)
> Nikodemus Siivola wrote:
>> (declaim (inline foo))
>> (defun foo (x y)
>> (cons x y))
>> (defun bar (x)
>> (foo (foo x x) (foo x x)))
>> (disassemble 'bar)
>> Disassembly shows a full call to FOO. I'm not yet sure why one call
>> doesn't get converted properly, so if someone has insights to offer,
>> they are very welcome. This doesn't seem to be a new bug, but
>> something coming all the way from CMUCL heritage.
> Wild guess: The compiler thinks a tail-call to foo is better than inlining
Fixed in 184.108.40.206. I didn't check, but I suspect the same fix may be
applicable to CMUCL as well.