Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-478
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eelco Visser
Reporter: Eelco Visser
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Stratego/XT

External definitions removed even when later needed

Created: 2005-12-04 22:32   Updated: 2008-03-31 20:46
Component/s: strc - Stratego compiler
Affects Version/s: 0.18 (Standard C and Stratego Libraries)
Fix Version/s: 0.17

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The needed-defs transformation removes definitions that are not called. External definitions do not provide their call-graph information.

Therefore, needed-defs removes external def of bottomup, which is later introduced again by innermost fusion, causing warnings in generated C code.

Solution is not to remove any external definitions, since there is no gain in removing them anyway.

 All   Comments   Work Log   Change History      Sort Order:
Eelco Visser [2005-12-11 22:02]
Solved as proposed: external definitions are not removed.