Message ID | 3366550.yXoTkXDyxz@polaris |
---|---|
State | New |
Headers | show |
Series | Fix PR middle-end/86864 | expand |
Index: cfgexpand.c =================================================================== --- cfgexpand.c (revision 264202) +++ cfgexpand.c (working copy) @@ -5810,6 +5810,8 @@ expand_gimple_basic_block (basic_block b last = PREV_INSN (last); if (JUMP_TABLE_DATA_P (last)) last = PREV_INSN (PREV_INSN (last)); + if (BARRIER_P (last)) + last = PREV_INSN (last); BB_END (bb) = last; update_bb_for_insn (bb);