From: Uros Bizjak Date: Thu, 25 Sep 2014 17:58:35 +0000 (+0200) Subject: re PR rtl-optimization/63348 (gcc.dg/pr43670.c fail on MIPS) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d2c5dd1210..f48cc11314d 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 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 (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