tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Wed, 4 Aug 2004 20:37:38 +0000 (22:37 +0200)
committerJeff Law <law@gcc.gnu.org>
Wed, 4 Aug 2004 20:37:38 +0000 (14:37 -0600)
commitb0382c67cb60bf717f7ed330da1c36ca379381d8
tree23b173bffe56f19ee8231be3aae5255ddc05cbc8
parent63c5b4952ee1141038f756fc5a44511296ad7f8e
tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.

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

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r85572
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