bugLiberty Eiffel - Bugs: bug #42991, C code for local variables...

 
 

bug #42991: C code for local variables generated, even though all accesses removed

Submitted by:  Raphael Mack <ramack>
Submitted on:  Thu 14 Aug 2014 08:58:08 PM UTC  
 
Category:  SmartEiffel Severity:  3 - Normal
Priority:  5 - Normal Status:  Confirmed
Assigned to:  None Open/Closed:  Open
Release:  None Fixed Release:  None
Planned Release:  curtiss

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 14 Aug 2014 08:58:08 PM UTC, original submission:

e. g. compile_to_c: for WRITABLE_ATTRIBUTE.inline_dynamic_dispatch the inherited code (from ANONYMOUS_FEATURE) is optimized, such that the accesses to local resc: CODE (from ANONYMOUS_FEATURE.inline_dynamic_dispatch) are removed. But the local is still printed:

/*WRITABLE_ATTRIBUTE*/void r701inline_dynamic_dispatch(T701*C,T0*a1,T0*a2){
T0*_resc=(void*)0;

(Thanks to Hans for detecting this by compiling with PellesC/win32).

Raphael Mack <ramack>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ramack (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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):

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-05 ramack Planned Releasebell => curtiss

    Back to the top


    Powered by Savane 3.3