* tree-ssa-dce.c (bb_contains_live_stmts): New bitmap.
commita336775cce541147843682a7b330ed2fad9d6856
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jul 2009 22:56:21 +0000 (2 22:56 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jul 2009 22:56:21 +0000 (2 22:56 +0000)
tree1d9bdbd53840567d935dad776d171d929046d438
parente08fa0d78753e62dcc1fdde87a97660f98a38b1b
* tree-ssa-dce.c (bb_contains_live_stmts): New bitmap.
(mark_stmt_necessary): Set it.
(mark_operand_necessary): Set it.
(mark_control_dependent_edges_necessary): Set it.
(mark_virtual_phi_result_for_renaming): New function.
(get_live_post_dom): New function.
(forward_edge_to_pdom): New function.
(remove_dead_stmt): Fix handling of control dependences.
(tree_dce_init): Init new bitmap.
(tree_dce_done): Free it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149199 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-dce.c