Commit 4b2e464e by Steve Ellcey Committed by Steve Ellcey

re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)

2009-10-15  Steve Ellcey  <sje@cup.hp.com>

	PR rtl-optimization/41697
	* sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.

From-SVN: r152872
parent e25d3e6d
2009-10-15 Steve Ellcey <sje@cup.hp.com>
PR rtl-optimization/41697
* sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.
2009-10-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/23983
......@@ -1395,6 +1395,9 @@ _eligible_successor_edge_p (edge e1, succ_iterator *ip)
&& !(flags & SUCCS_OUT))
return false;
if (EDGE_COUNT (bb->succs) == 0)
return false;
e2 = EDGE_SUCC (bb, 0);
bb = e2->dest;
}
......
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