re PR rtl-optimization/45570 (ICE: in cfg_preds_1, at sel-sched-ir.c:4584)
authorAndrey Belevantsev <abel@ispras.ru>
Thu, 14 Oct 2010 07:56:47 +0000 (11:56 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Thu, 14 Oct 2010 07:56:47 +0000 (11:56 +0400)
commit3e6a3f6fc3662f0c830f4d3e35634745ace379cf
tree213677380c72865d80aaf935571da2537753eb95
parent262d82326eb80275d4a93d1fa1be3a01fd7756c7
re PR rtl-optimization/45570 (ICE: in cfg_preds_1, at sel-sched-ir.c:4584)

PR rtl-optimization/45570
* sel-sched-ir.c (cfg_preds_1): When walking out of the region, assert
that we are pipelining outer loops.  Allow returning zero predecessors.
* gcc.dg/pr45570.c: New test.

From-SVN: r165454
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr45570.c [new file with mode: 0644]