bugKawa - Bugs: bug #8711, Dead variable compiler error

 
 

bug #8711: Dead variable compiler error

Submitted by:  None
Submitted on:  Tue 27 Apr 2004 08:02:19 PM UTC  
 
Category: Code generationSeverity: 3 - Normal
Item Group: Compile-time exceptionStatus: 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.

 

Thu 13 May 2004 07:21:06 PM UTC, comment #2:

I've checked in the testcase.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Sun 09 May 2004 07:18:16 AM UTC, comment #1:

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

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Tue 27 Apr 2004 08:02:19 PM UTC, 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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1292:  FindTailCalls.patch added by bothner (746B - application/octet-stream - Patch.)
file #1258:  test.scm added by None (445B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Date Changed By Updated Field Previous Value => Replaced By
Thu 13 May 2004 07:21:06 PM UTCbothnerOpen/ClosedOpen=>Closed
Sun 09 May 2004 07:18:16 AM UTCbothnerStatusNone=>Fixed
  Assigned toNone=>bothner
  Attached File-=>Added FindTailCalls.patch, #1284
Tue 27 Apr 2004 08:02:19 PM UTCNoneAttached File-=>Added test.scm, #1243

Back to the top


Powered by Savane 3.1-cleanup1