bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bugs #8711] Dead variable compiler error


From: Per Bothner
Subject: [Bug-kawa] [bugs #8711] Dead variable compiler error
Date: Sun, 09 May 2004 03:22:51 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113

This mail is an automated notification from the bugs tracker
 of the project: Kawa.

/**************************************************************************/
[bugs #8711] Latest Modifications:

Changes by: 
                Per Bothner <address@hidden>
'Date: 
                Sun 05/09/04 at 07:18 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | bothner


------------------ Additional Follow-up Comments ----------------------------
The attached patch seems to fix it.  Unfortunately, I can't check in to CVS 
now, bcause of sources.redhat.com's move today.






/**************************************************************************/
[bugs #8711] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8711>
Project: Kawa
Submitted by: 0
On: Tue 04/27/04 at 20:02

Category:  Code generation
Severity:  5 - Average
Item Group:  Compile-time exception
Resolution:  Fixed
Assigned to:  bothner
Status:  Open


Summary:  Dead variable compiler error

Original Submission:  The compiler aborts with the following error on the 
attached file:

(compiling test.scm) Internal error while compiling test.scm:15
java.lang.Error: attempting to push dead variable
        at gnu.bytecode.CodeAttr.emitLoad(CodeAttr.java:1047)
        at gnu.expr.Declaration.load(Declaration.java:140)
        at gnu.expr.ReferenceExp.compile(ReferenceExp.java:118)
        ....

It seems that there is a code generation bug when a lambda-expression appears 
in a method declared inside a 'define-simple-class' that is not exported by the 
module.



Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 05/09/04 at 07:18         By: bothner
The attached patch seems to fix it.  Unfortunately, I can't check in to CVS 
now, bcause of sources.redhat.com's move today.






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 05/09/04 at 07:18  Name: FindTailCalls.patch  Size: 746KB   By: 
bothner
Patch.
http://savannah.gnu.org/bugs/download.php?item_id=8711&amp;item_file_id=1284

-------------------------------------------------------
Date: Tue 04/27/04 at 20:02  Name: test.scm  Size: 445KB   By: None

http://savannah.gnu.org/bugs/download.php?item_id=8711&amp;item_file_id=1243






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8711>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]