* emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn.
authorGraham Stott <graham.stott@btinternet.com>
Sat, 17 Jul 2004 14:22:42 +0000 (14:22 +0000)
committerGraham Stott <grahams@gcc.gnu.org>
Sat, 17 Jul 2004 14:22:42 +0000 (14:22 +0000)
From-SVN: r84871

gcc/ChangeLog
gcc/emit-rtl.c

index c7a5094fe01ef77e0025aaf21caa2cb4d6cddd2f..50b998b1da2bebcaf49b6a51c075f69b0ea65b23 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-17  Graham Stott  <graham.stott@btinternet.com>
+
+       * emit-rtl.c (reorder_insns): Don't set BB for a BARRIER insn.
+
 2004-07-17  Toon Moene  <toon@moene.indiv.nluug.nl>
 
        * doc/sourcebuild.texi: Remove libf2c entry.
index 0f32005f49d9a97f4b2f0dff01ef9b9657340507..da722eea80d53979aaea2d0680d29bfe74089066 100644 (file)
@@ -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);
     }
 }