------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-19 15:23 ------- (In reply to comment #1) > where the solution for dealing with releasing ssa names now that we have > immediate use data available all the time is to simply add a lightning fast > pass > which removes unused ssa_names by zipping through the ssa_name table and > releasing any which have no uses.
That will not work as there is no way to tell if a SSA_NAME is used or not as the statement might have been removed too which is what all those release_defs do I have a pass which is not fast as it does a pass over the IR which removes unused/no alive SSA_NAMEs and I really don't want another pass over the IR going in as a TODO. I really only filed this bug to track this issue. Also an old point to this discussion where we do release_defs: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg00252.html http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01511.html In fact Diego added release_defs: http://gcc.gnu.org/ml/gcc-patches/2004-07/msg02132.html I don't know why people go back and forth on this issue without cleaning up. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23940