This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/23940] SSA_NAMEs are not released after no longer being used.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]