aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/recog.c9
2 files changed, 5 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9753886..71e8260 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-28 Paolo Bonzini <bonzini@gnu.org>
+
+ * recog.c (split_all_insns): Remove dead code.
+
2010-10-28 Nathan Froyd <froydnj@codesourcery.com>
* score.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
diff --git a/gcc/recog.c b/gcc/recog.c
index 3ab72f1..1a4824a 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2868,15 +2868,8 @@ split_all_insns (void)
}
else
{
- rtx last = split_insn (insn);
- if (last)
+ if (split_insn (insn))
{
- /* The split sequence may include barrier, but the
- BB boundary we are interested in will be set to
- previous one. */
-
- while (BARRIER_P (last))
- last = PREV_INSN (last);
SET_BIT (blocks, bb->index);
changed = true;
}