From abb9a4c5705c72447e159a350ce2e482d5420996 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 31 May 2000 16:57:00 -0700 Subject: [PATCH] flow.c (merge_blocks_nomove): Remove a barrier not following a jump as well. * flow.c (merge_blocks_nomove): Remove a barrier not following a jump as well. From-SVN: r34315 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aea8ddbbaa1..0ea100baf5c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-31 Richard Henderson + + * flow.c (merge_blocks_nomove): Remove a barrier not following + a jump as well. + 2000-05-31 Richard Henderson * flow.c (propagate_block): Move initialization of mem_set_list ... diff --git a/gcc/flow.c b/gcc/flow.c index dcdf9692051..c8762c8ffc4 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -2201,6 +2201,8 @@ merge_blocks_nomove (a, b) a_end = prev; } + else if (GET_CODE (NEXT_INSN (a_end)) == BARRIER) + del_first = NEXT_INSN (a_end); /* Delete everything marked above as well as crap that might be hanging out between the two blocks. */ -- 2.30.2