tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 12 Sep 2017 07:24:32 +0000 (07:24 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 12 Sep 2017 07:24:32 +0000 (07:24 +0000)
commitcff44c10ae1f4d3dc73abed85dfa785b70a553e1
tree4e0a7a26649e757b926dfff57e4c91b6717ba8f0
parent072f1e63ad57fdcabb2ce52eaa7e57410bf442cb
tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors.

* tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC
vectors heap vectors.  Clean up comments.
Make visited_bbs a reference.
(profitable_jump_thread_path): Make GC
vectors heap vectors.  Clean up comments.
Misc cleanups.
(convert_and_register_jump_thread_path): Make GC vectors heap
vectors.
(check_subpath_and_update_thread_path): Same.  Clean up comments.
Make visited_bbs a reference.
(handle_phi): Abstract common code to to
register_jump_thread_path_if_profitable.
Rename VAR_BB to DEF_BB.
Update comments.
Make GC vectors heap vectors.
Make visited_bbs a reference.
(handle_assignment): Same.
(register_jump_thread_path_if_profitable): New.
(fsm_find_control_statement_thread_paths): Rename VAR_BB to
DEF_BB.
Make GC vectors heap vectors.  Clean up comments.
Make visited_bbs a reference.
(find_jump_threads_backwards): Make visited_bbs live in the stack.
* tree-ssa-threadupdate.c (delete_jump_thread_path): Fix typo in
comment.

From-SVN: r251998
gcc/ChangeLog
gcc/tree-ssa-threadbackward.c
gcc/tree-ssa-threadupdate.c