OSDN Git Service

* tree-ssa-threadupdate.c (THREAD_TARGET): define.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 13:12:29 +0000 (13:12 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 13:12:29 +0000 (13:12 +0000)
commiteb31063abe0b36dbf8c324e51dee83e675e924a9
tree2390b87f09ded38fe53aa87f3717fbc2051813b9
parent756dcd135207efb96d129c7f389e422a6ea7ecdc
* tree-ssa-threadupdate.c (THREAD_TARGET): define.
(remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges.
(craete_edge_and_update_destination_phis): Use THREAD_TARGET rather
than accessing AUX field directly.  Free the AUX field before clearing it.
(thread_block, thread_through_loop_header): Likewise.
(thread_single_edge, mark_threaded_blocks): Likewise.
(redirect_edges): Delay clearing the AUX field.  Free the AUX field.
(register_jump_thread): Do not attempt to thread to a NULL edge.

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