bugKawa - Bugs: bug #24249, Local define miscompiled

 
 

bug #24249: Local define miscompiled

Submitted by:  Helmut Eller <ellerh>
Submitted on:  Fri 12 Sep 2008 12:00:39 PM UTC  
 
Category: Code generationSeverity: 3 - Normal
Item Group: NoneStatus: None
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.

 

Wed 08 Jul 2009 02:58:24 AM UTC, comment #1:

Thanis for the test-case.
I checked in a fix, along with the test-case.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Fri 12 Sep 2008 12:00:39 PM UTC, original submission:

Kawa 1.9.3 (revision 6142M)
miscompiles the following expression.
k is (wrongly) null:

(let ()
(define (foo) (bar))
(define (bar)
(let ((k (lambda () #f)))
(cond ((not (procedure? k))
(error 'bad-k k)))
k))
(define (baz) (bar))

(foo))

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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 08 Jul 2009 02:58:24 AM UTCbothnerAssigned toNone=>bothner
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1