* tree-ssa-dce.c (visited_control_parents): New sbitmap to
commite0e865f0d6671390cd0f4e850e207c01768c8660
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jan 2005 18:40:30 +0000 (14 18:40 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jan 2005 18:40:30 +0000 (14 18:40 +0000)
treea22f0af11a0134a6fea37711e4f1ff20133eb8b6
parent32f2c8ec4a9e2056720d94d81624bf6975ef7221
* tree-ssa-dce.c (visited_control_parents): New sbitmap to
replace BB_VISITED uses.
(find_obviously_necessary_stmts): Don't clear BB_VISITED.
(propagate_necessity): Check the bitmap instead of BB_VISITED.
(tree_dce_done): Free visited_control_parents.
(perform_tree_ssa_dce): Allocate and clear it.
* tree-ssa-pre.c (compute_antic_aux): Make non-recursive.
(compute_antic): Iterate from here using a DFS.  Use an sbitmap
instead of BB_VISITED.

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