Restore bootstrap on non-cc0 targets
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 16 May 2013 12:52:18 +0000 (12:52 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 16 May 2013 12:52:18 +0000 (12:52 +0000)
* reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0.

From-SVN: r198971

gcc/ChangeLog
gcc/reorg.c

index 15fe33b..8e92c44 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0.
+
 2013-05-16  Greta Yorsh  <Greta.Yorsh@arm.com>
 
        * config/arm/arm-protos.h (gen_movmem_ldrd_strd): New declaration.
index 9422664..e601818 100644 (file)
@@ -157,6 +157,7 @@ skip_consecutive_labels (rtx label)
   return label;
 }
 
+#ifdef HAVE_cc0
 /* INSN uses CC0 and is being moved into a delay slot.  Set up REG_CC_SETTER
    and REG_CC_USER notes so we can find it.  */
 
@@ -171,6 +172,7 @@ link_cc0_insns (rtx insn)
   add_reg_note (user, REG_CC_SETTER, insn);
   add_reg_note (insn, REG_CC_USER, user);
 }
+#endif
 \f
 /* Insns which have delay slots that have not yet been filled.  */