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

 
 

bug #26940: Compiler stuck in endless loop

Submitted by:  Helmut Eller <ellerh>
Submitted on:  Thu 02 Jul 2009 03:15:04 PM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Jul 2009 11:04:02 PM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1