From 0be35aa0a1c35976c8aa3da816afbfe05d4ba4b3 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 25 Sep 2014 19:58:35 +0200 Subject: 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 --- gcc/emit-rtl.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gcc/emit-rtl.c') 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 (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 -- cgit v1.1