OSDN Git Service

PR middle-end/32018
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 May 2007 14:02:12 +0000 (14:02 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 May 2007 14:02:12 +0000 (14:02 +0000)
commit96c90e5e0abd447bdcf81f5bcfe76a2a59a9b4dd
tree9bb72d30323dfced6a574b1c6fc4064792090034
parent7ed90ee0f408293bdd383a39c89af3d26b1bc50c
PR middle-end/32018
* tree-ssa-threadupdate.c (thread_through_loop_header): Use
set_loop_copy.
(thread_through_all_blocks): Call initialize_original_copy_tables
and free_original_copy_tables.
* cfgloopmanip.c (duplicate_loop, duplicate_loop_to_header_edge):
Use set_loop_copy.
* tree-cfg.c (tree_duplicate_sese_region): Ditto.
* cfghooks.c (duplicate_block): Use get_loop_copy.
* cfg.c: Include cfgloop.h.
(loop_copy): New hash table.
(initialize_original_copy_tables): Initialize loop_copy table.
(free_original_copy_tables): Free loop_copy table.
(copy_original_table_clear, copy_original_table_set,
set_loop_copy, get_loop_copy): New functions.
(set_bb_original, set_bb_copy): Use copy_original_table_set.
* cfgloop.h (struct loop): Remove copy field.
* Makefile.in (cfg.o): Add CFGLOOP_H dependency.
* basic-block.h (set_loop_copy, get_loop_copy): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/basic-block.h
gcc/cfg.c
gcc/cfghooks.c
gcc/cfgloop.h
gcc/cfgloopmanip.c
gcc/tree-cfg.c
gcc/tree-ssa-threadupdate.c