]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/sel-sched.c
re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched...
authorAndrey Belevantsev <abel@ispras.ru>
Wed, 22 Dec 2010 07:46:53 +0000 (10:46 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Wed, 22 Dec 2010 07:46:53 +0000 (10:46 +0300)
commitd7f672ecf699179114a34020f045d52b9f1d2461
tree82073ce3ad5d93cd8db010086551d856ac634f10
parentd7ab2512cd9b4330fb12d86d49219782375e3ac4
re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058)

PR rtl-optimization/45352
PR rtl-optimization/46521
PR rtl-optimization/46522
* sel-sched.c (reset_sched_cycles_in_current_ebb): Recheck the DFA state
on the last iteration of the advancing loop.
(sel_sched_region_1): Propagate the rescheduling bit to the next block
also for empty blocks.

* gcc.dg/pr46521.c: New.
* gcc.dg/pr46522.c: New.

From-SVN: r168164
gcc/ChangeLog
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46521.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr46522.c [new file with mode: 0644]