DFR does not work with group local functions
|
|
Bugzilla Link |
544 |
Created on |
Aug 06, 2009 14:29 |
Resolution |
FIXED |
Resolved on |
Aug 13, 2009 17:48 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
DFR is not adapted to work with grouping of LaC functions.
The IS_NEEDED flag is only reset on the fundef spine. This
may cause both non-removal of dead functions and worse removal
of alive ones. The latter is because the tracking mechanism
does not follow functions that are already alive. If they call
a function that is new and hence still marked dead it will not
be marked alive and hence disposed off, thus leaving the AST in
an inconsistent state.