backport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Backport from mainline: 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: r163499
This commit is contained in:
parent
5f86e30342
commit
0cc232de19
|
@ -1,3 +1,11 @@
|
|||
2010-08-24 Andrey Belevantsev <abel@ispras.ru>
|
||||
|
||||
Backport from mainline:
|
||||
2009-10-15 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR rtl-optimization/41697
|
||||
* sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.
|
||||
|
||||
2010-08-24 Andrey Belevantsev <abel@ispras.ru>
|
||||
|
||||
Backport from mainline:
|
||||
|
|
|
@ -1356,6 +1356,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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue