------- Additional Comments From amacleod at redhat dot com 2005-09-19 15:45 ------- Did you read the original thread?
We aren't going back and forth over anything. Diego added release_defs in 08/2004 because we did not have immediate_use information freely available at the time. The current immeidate use code was added in spring of 2005, or something like that, so it is now freely available. All we need to do now is do a quick loop through the ssa_name table between selected (or even all) passes, and if there are no uses associated with that ssa_name we *know* it is unused since we are between passes. Then you simply call release_ssa_name() directly on that node. There are no passes over the IL and release_defs will go away too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23940