From 7bd5ed5c37ab66898afc7994a8666ef08233bea9 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Sat, 17 Jul 2004 14:22:42 +0000 Subject: [PATCH] * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn. From-SVN: r84871 --- gcc/ChangeLog | 4 ++++ gcc/emit-rtl.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } } -- 2.30.2