backport: 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())
Backport from mainline 2010-08-20 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/45353 * sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn after bb_note is a BARRIER. From-SVN: r163731
This commit is contained in:
parent
aa69e489ec
commit
b4573f54e9
|
@ -1,3 +1,12 @@
|
|||
2010-09-01 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
Backport from mainline
|
||||
2010-08-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/45353
|
||||
* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
|
||||
after bb_note is a BARRIER.
|
||||
|
||||
2010-09-01 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gimplify.c (gimplify_init_constructor): Do not create a temporary for
|
||||
|
|
|
@ -4291,7 +4291,7 @@ sel_bb_head (basic_block bb)
|
|||
note = bb_note (bb);
|
||||
head = next_nonnote_insn (note);
|
||||
|
||||
if (head && BLOCK_FOR_INSN (head) != bb)
|
||||
if (head && (BARRIER_P (head) || BLOCK_FOR_INSN (head) != bb))
|
||||
head = NULL_RTX;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue