diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2014-09-25 19:58:35 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-09-25 19:58:35 +0200 |
commit | 0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3 (patch) | |
tree | 6e26822dea1d2c1def641dbe0246070628b2ebf4 /gcc | |
parent | cb23a30cc4838f0c67b8a2746848a4e859c16217 (diff) | |
download | gcc-0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3.zip gcc-0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3.tar.gz gcc-0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3.tar.bz2 |
re PR rtl-optimization/63348 (gcc.dg/pr43670.c fail on MIPS)
PR rtl-optimization/63348
* emit-rtl.c (try_split): Do not emit extra barrier.
From-SVN: r215613
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 11 |
2 files changed, 5 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d2c5dd..f48cc11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-25 Uros Bizjak <ubizjak@gmail.com> + + PR rtl-optimization/63348 + * emit-rtl.c (try_split): Do not emit extra barrier. + 2014-09-25 James Greenhalgh <james.greenhalgh@arm.com> * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c0da65f..dce5fd6 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 |