This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23940] SSA_NAMEs are not released after no longer being used.
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2005 20:34:02 -0000
- Subject: [Bug tree-optimization/23940] SSA_NAMEs are not released after no longer being used.
- References: <20050918005013.23940.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amacleod at redhat dot com 2005-09-19 20:34 -------
Actually, it occurs to me that we might be able to make the entire
SSA_NAME_DEF_STMT process completely transparent, including the setting of it.
The operand cache knows whenever an SSA_NAME is added to any stmt in the IL,
either real or virtual. It also knows when one is removed. Between passes would
then be appropriate time to remove any which are no longer in the IL. This
should resolve any issues with trying find the right places to set or reset
SSA_NAME_DEF_STMT
In theory. :-)
I'll take a look at it shortly and see what happens.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23940