From 79771cc412e68e6d5234d20f81731402453e84ad Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Sat, 28 Feb 2004 10:51:56 +0100 Subject: [PATCH] re PR rtl-optimization/14229 (20000504-1.c:15: error: missing barrier after block 1) PR optimization/14229 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. From-SVN: r78605 --- gcc/ChangeLog | 5 +++++ gcc/cfgrtl.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8722e946c57..6acbafbd535 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-28 Zdenek Dvorak + + PR optimization/14229 + * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. + 2004-02-28 Eric Botcazou * fold-const.c (fold): Strip NOPs that change the signedness diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index f35263f14e0..35d7c9ebe1b 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1130,11 +1130,6 @@ rtl_tidy_fallthru_edge (edge e) rtx q; basic_block b = e->src, c = b->next_bb; - /* If the jump insn has side effects, we can't tidy the edge. */ - if (GET_CODE (BB_END (b)) == JUMP_INSN - && !onlyjump_p (BB_END (b))) - return; - /* ??? In a late-running flow pass, other folks may have deleted basic blocks by nopping out blocks, leaving multiple BARRIERs between here and the target label. They ought to be chastized and fixed. -- 2.30.2