re PR rtl-optimization/69032 (ICE: in cfg_preds_1, at sel-sched-ir.c:4809 with -fsche...
authorAndrey Belevantsev <abel@ispras.ru>
Tue, 15 Mar 2016 15:42:07 +0000 (18:42 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Tue, 15 Mar 2016 15:42:07 +0000 (18:42 +0300)
commit6598bb55e90fe000eee237d3e7eb7b70c6d5d205
tree05575a387e521d2f8c625c43922daf99d64faba2
parent11a6609c191c4feae4b744944fa178b1e763c904
re PR rtl-optimization/69032 (ICE: in cfg_preds_1, at sel-sched-ir.c:4809 with -fsched-pressure -fsel-sched-pipelining -fselective-scheduling)

gcc/

PR rtl-optimization/69032
* sel-sched-ir.c (get_seqno_by_preds): Include both insn and head when
looping backwards over basic block insns.

testsuite/

PR rtl-optimization/69032
* gcc.dg/pr69032.c: New test.

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