From: uros Date: Thu, 25 Sep 2014 17:58:35 +0000 (+0000) Subject: PR rtl-optimization/63348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19228d4264b1dfd5443e4e79a5a25362b7e9cf60;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d2c5dd1210d..f48cc11314db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-25 Uros Bizjak + + PR rtl-optimization/63348 + * emit-rtl.c (try_split): Do not emit extra barrier. + 2014-09-25 James Greenhalgh * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c0da65f07115..dce5fd6eba7a 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 (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