aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2013-05-16 12:52:18 +0000
committerRainer Orth <ro@gcc.gnu.org>2013-05-16 12:52:18 +0000
commitce85812624573b7b2fca14eeec9e7d31cefc04fa (patch)
treef74f695b47529166baee7b2bc60a1b4db815e143
parent798d3d0454c3f8de61f95f9d8ff53da3465f19fa (diff)
downloadgcc-ce85812624573b7b2fca14eeec9e7d31cefc04fa.zip
gcc-ce85812624573b7b2fca14eeec9e7d31cefc04fa.tar.gz
gcc-ce85812624573b7b2fca14eeec9e7d31cefc04fa.tar.bz2
Restore bootstrap on non-cc0 targets
* reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0. From-SVN: r198971
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/reorg.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 15fe33b..8e92c44 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 9422664..e601818a 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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
/* Insns which have delay slots that have not yet been filled. */