From: Graham Stott Date: Sat, 17 Jul 2004 14:22:42 +0000 (+0000) Subject: * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bd5ed5c37ab66898afc7994a8666ef08233bea9;p=gcc.git * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn. From-SVN: r84871 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7a5094fe01..50b998b1da2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-07-17 Graham Stott + + * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn. + 2004-07-17 Toon Moene * doc/sourcebuild.texi: Remove libf2c entry. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 0f32005f49d..da722eea80d 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3790,7 +3790,8 @@ reorder_insns (rtx from, rtx to, rtx after) BB_END (bb) = to; for (x = from; x != NEXT_INSN (to); x = NEXT_INSN (x)) - set_block_for_insn (x, bb); + if (!BARRIER_P (x)) + set_block_for_insn (x, bb); } }