-d treecheck gives false positive
|
|
Bugzilla Link |
712 |
Created on |
May 16, 2010 15:44 |
Resolution |
INVALID |
Resolved on |
Jun 08, 2010 15:14 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
I changed my local copy of phase.c to perform -d CHKdoTreeCheck between
each traversal of the syntax tree, rather than at the end of each optimization
cycle, because any AST damage incurred in a specific traversal is detected
far too late in an end-of-cycle check.
However, my IVEXI code leaves the syntax tree with damaged
SSAASSIGN nodes after the traversal of IVEXIwith's sons, until
it calls TUremoveUnusedCodes, after which all is well.
I spent a few hours chasing a non-problem here, and would like
to have a nice way to avoid these false alarms, but have no bright
ideas....