re PR rtl-optimization/45353 (ICE: RTL check: expected elt 3 type 'B', have '0' ...
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Aug 2010 18:07:12 +0000 (20:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Aug 2010 18:07:12 +0000 (20:07 +0200)
commit89ad0f25dc8910505a30611497f57457c113a6da
treebf4660e88dc03e25280c8b8a006f9e392f2a9db9
parentbf794e41ee84bb4bc8b02a89694c8cccd417ba45
re PR rtl-optimization/45353 (ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable())

PR rtl-optimization/45353
* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
after bb_note is a BARRIER.

* gcc.dg/pr45353.c: New test.

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