bugKawa - Bugs: bug #31180, exception in inline-compiler

 
 

bug #31180: exception in inline-compiler

Submitted by:  Helmut Eller <ellerh>
Submitted on:  Fri 01 Oct 2010 10:06:28 AM 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.

 

Sat 02 Oct 2010 12:28:32 AM UTC, comment #1:

Checked in a fix into Subversion.
This was an issue in inconsistency about whether in immediate mode when calling a private module-level function should that call be inlined. The answer is no, though we do want to call the generated method directly.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Fri 01 Oct 2010 10:06:28 AM UTC, original submission:

Loading the attached file with kawa foo.scm
aborts with
foo.scm:8:25: caught exception in inline-compiler for #<procedure gnu.kawa.functions.AppendValues> - java.lang.NullPointerException
gnu.bytecode.CodeAttr.emitGetStatic(CodeAttr.java:1423)
gnu.expr.ProcInitializer.emitLoadModuleMethod(ProcInitializer.java:88)
gnu.expr.LambdaExp.compile(LambdaExp.java:742)
gnu.expr.Declaration.load(Declaration.java:255)
gnu.expr.ReferenceExp.compile(ReferenceExp.java:163)

...

Thats with Kawa 1.10 (revision 6722M).

Helmut Eller <ellerh>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21590:  foo.scm added by ellerh (176B - application/octet-stream)

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Oct 2010 12:28:32 AM UTCbothnerCategoryNone=>Code generation
      StatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed
    Fri 01 Oct 2010 10:06:28 AM UTCellerhAttached File-=>Added foo.scm, #21590

    Back to the top


    Powered by Savane 3.1-cleanup1