bugKawa - Bugs: bug #26940, Compiler stuck in endless loop

 
 

bug #26940: Compiler stuck in endless loop

Submitter:  Helmut Eller <ellerh>
Submitted:  Thu 02 Jul 2009 03:15:04 PM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Jul 2009 11:04:02 PM UTC, comment #1: 

Thanks for the bug report.  I checked in a fix.  I also check in your testcase to the testsuite.

Per Bothner <bothner>
Group administrator
Thu 02 Jul 2009 03:15:04 PM UTC, original submission:  

Compiling this code:

(define (foo x)
  (letrec ((f0 (lambda () (if (= x 0) (f1) 0)))
           (f1 (lambda () (if (= x 0) (f2) (f0))))
           (f2 (lambda () (if (= x 0) 1 (f1)))))
    (f0)))

with kawa -C foo.scm doesn't terminate (or takes very long).
kawa --version prints:
Kawa 1.9.3 (revision 6276M)

Helmut Eller <ellerh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by ellerh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-05 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code