* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
commitdeb78f9eeb94962225a93b18c8e0527622601c7e
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Aug 2004 20:37:38 +0000 (4 20:37 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Aug 2004 20:37:38 +0000 (4 20:37 +0000)
tree23b173bffe56f19ee8231be3aae5255ddc05cbc8
parent3c5c992fb35721740819b519e532b3f3e244e323
* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
manipulate the duplicated ssa names.
* tree-ssanames.c (ssa_names_to_rewrite): New variable.
(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
New functions.
(release_ssa_name): Do not release ssa names that may have multiple
definitions.
* tree.h (release_ssa_name_force, mark_for_rewrite,
unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
marked_ssa_names): Declare.
* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
(duplicate_blocks): Remove call to mark_defs_for_rewrite.
Update call to rewrite_ssa_into_ssa.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85572 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-flow.h
gcc/tree-into-ssa.c
gcc/tree-ssa-loop-ch.c
gcc/tree-ssanames.c
gcc/tree.h