summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-25 17:58:35 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-25 17:58:35 +0000
commit19228d4264b1dfd5443e4e79a5a25362b7e9cf60 (patch)
tree6e26822dea1d2c1def641dbe0246070628b2ebf4 /gcc/emit-rtl.c
parenta92326b6cbdfb5a74b87b7b2a4398f34597fb120 (diff)
downloadgcc-19228d4264b1dfd5443e4e79a5a25362b7e9cf60.tar.gz
PR rtl-optimization/63348
* emit-rtl.c (try_split): Do not emit extra barrier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index c0da65f0711..dce5fd6eba7 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -3614,7 +3614,6 @@ try_split (rtx pat, rtx uncast_trial, int last)
rtx_insn *trial = as_a <rtx_insn *> (uncast_trial);
rtx_insn *before = PREV_INSN (trial);
rtx_insn *after = NEXT_INSN (trial);
- int has_barrier = 0;
rtx note;
rtx_insn *seq, *tem;
int probability;
@@ -3635,14 +3634,6 @@ try_split (rtx pat, rtx uncast_trial, int last)
split_branch_probability = -1;
- /* If we are splitting a JUMP_INSN, it might be followed by a BARRIER.
- We may need to handle this specially. */
- if (after && BARRIER_P (after))
- {
- has_barrier = 1;
- after = NEXT_INSN (after);
- }
-
if (!seq)
return trial;
@@ -3798,8 +3789,6 @@ try_split (rtx pat, rtx uncast_trial, int last)
tem = emit_insn_after_setloc (seq, trial, INSN_LOCATION (trial));
delete_insn (trial);
- if (has_barrier)
- emit_barrier_after (tem);
/* Recursively call try_split for each new insn created; by the
time control returns here that insn will be fully split, so