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 18:10:08 -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 18:10 -------
Do you mean SSA_NAME_DEF_FOR_STMT for i_4 would NOT be NULLed since we didnt
call bsi_remove on it?
if it is NULL, then it has no uses and we can simply remove it with the trip
through the SSA_NAME table.
If it isn't NULL is when we have the problem that needs resolving. The operand
cache has a list of any virtual defs that are being thrown away after processing
each statement, we might be able to catch them all there, I'd have to check it out.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23940