Commit ca15e365 by Jan Hubicka Committed by Jan Hubicka

tree-vrp.c (remove_range_assertions): Release defs.

	* tree-vrp.c (remove_range_assertions): Release defs.
	* tree-ssa-loop-ivopts.c (rmeove_statement): Likewise.
	* tree-ssa-dom.c (remove_stmt_or_phi): Likewise.

From-SVN: r120662
parent f226b320
2007-01-10 Jan Hubicka <jh@suse.cz>
* tree-vrp.c (remove_range_assertions): Release defs.
* tree-ssa-loop-ivopts.c (rmeove_statement): Likewise.
* tree-ssa-dom.c (remove_stmt_or_phi): Likewise.
2007-01-10 Paul Brook <paul@codesourcery.com> 2007-01-10 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_rtx_costs_1): Handle mutiply-subtract. * config/arm/arm.c (arm_rtx_costs_1): Handle mutiply-subtract.
......
...@@ -2109,6 +2109,7 @@ remove_stmt_or_phi (tree t) ...@@ -2109,6 +2109,7 @@ remove_stmt_or_phi (tree t)
{ {
block_stmt_iterator bsi = bsi_for_stmt (t); block_stmt_iterator bsi = bsi_for_stmt (t);
bsi_remove (&bsi, true); bsi_remove (&bsi, true);
release_defs (t);
} }
} }
......
...@@ -4827,6 +4827,7 @@ remove_statement (tree stmt, bool including_defined_name) ...@@ -4827,6 +4827,7 @@ remove_statement (tree stmt, bool including_defined_name)
block_stmt_iterator bsi = bsi_for_stmt (stmt); block_stmt_iterator bsi = bsi_for_stmt (stmt);
bsi_remove (&bsi, true); bsi_remove (&bsi, true);
release_defs (stmt);
} }
} }
......
...@@ -3540,6 +3540,7 @@ remove_range_assertions (void) ...@@ -3540,6 +3540,7 @@ remove_range_assertions (void)
/* And finally, remove the copy, it is not needed. */ /* And finally, remove the copy, it is not needed. */
bsi_remove (&si, true); bsi_remove (&si, true);
release_defs (stmt);
} }
else else
bsi_next (&si); bsi_next (&si);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment