Commit b3776043 by Devang Patel Committed by Devang Patel

tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.

       * tree-if-conv.c (clean_predicate_lists): Use loop header
       and latch directly.

From-SVN: r90565
parent 7a4702d2
2004-11-12 Devang Patel <dpatel@apple.com>
* tree-if-conv.c (clean_predicate_lists): Use loop header
and latch directly.
2004-11-12 Richard Henderson <rth@redhat.com>
PR 17778
......
......@@ -657,10 +657,11 @@ add_to_dst_predicate_list (struct loop * loop, basic_block bb,
static void
clean_predicate_lists (struct loop *loop)
{
unsigned int i;
for (i = 0; i < loop->num_nodes; i++)
ifc_bbs[i]->aux = NULL;
#ifdef ENABLE_CHECKING
gcc_assert (loop->num_nodes == 2);
#endif
loop->header->aux = NULL;
loop->latch->aux = NULL;
}
/* Basic block BB has two predecessors. Using predecessor's aux field, set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment