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: SmartEiffelSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Assigned to: NoneOpen/Closed: Open
Release: NoneFixed Release: None
Planned Release: bell

Add a New Comment (Rich MarkupRich 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(T701C,T0a1,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 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 ramack (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup