tree-ssa-threadupdate.c (THREAD_TARGET): define.
authorJeff Law <law@redhat.com>
Tue, 3 May 2011 13:12:29 +0000 (07:12 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 3 May 2011 13:12:29 +0000 (07:12 -0600)
commit7134c090d222230b4c7fca4b1b383472c1b1eb4c
tree2390b87f09ded38fe53aa87f3717fbc2051813b9
parent2c7eebae8a0b49351452b3a98fc1b2f26608bfbc
tree-ssa-threadupdate.c (THREAD_TARGET): define.

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

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