* tree-if-conv.c (clean_predicate_lists): Use loop header
and latch directly.
From-SVN: r90565
+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
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