Ticket #543 (closed defect: fixed)
(declare (lambda-lift)) infinite loop.
|Reported by:||alanpost||Owned by:||felix|
I have done some refactoring to my package genturfa'i. After completing my refactoring, the lambda-lift option now never terminates while compiling genturfa'i.
To recreate this problem:
svn co -r23157 https://code.call-cc.org/svn/chicken-eggs/release/4/genturfahi/trunk cd trunk chicken-install
The problem is occurring in the function compute-extra-variables in optimizer.scm. I narrowed this down using the verbose option to the compiler invoked by chicken-install, but attempts on my part to provide a simpler test case have failed.
Turning off (declare (lambda-lift)) causes genturfa'i to compile normally. I would expect to be able to compile my module with lambda lifting, rather than having in never terminate.