* dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
in if statement so we don't access undefined memory.
From-SVN: r44043
+2001-07-16 Steve Ellcey <sje@cup.hp.com>
+
+ * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
+ in if statement so we don't access undefined memory.
+
2001-07-16 Daniel Berlin <dan@cgsoftware.com>
* ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
/* If the next node BN is either already visited or a border
block the current edge is useless, and simply overwritten
with the next edge out of the current node. */
- if (di->dfs_order[bn->index] || bn == ex_block)
+ if (bn == ex_block || di->dfs_order[bn->index])
{
e = e->pred_next;
continue;
else
{
bn = e->dest;
- if (di->dfs_order[bn->index] || bn == ex_block)
+ if (bn == ex_block || di->dfs_order[bn->index])
{
e = e->succ_next;
continue;