diff options
author | Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | 2004-02-28 10:51:56 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2004-02-28 09:51:56 +0000 |
commit | 79771cc412e68e6d5234d20f81731402453e84ad (patch) | |
tree | 48a32764a7e78f9c4632888c437d9486902ab45d | |
parent | b922546d0786e081e666d306d403789185da5229 (diff) | |
download | gcc-79771cc412e68e6d5234d20f81731402453e84ad.zip gcc-79771cc412e68e6d5234d20f81731402453e84ad.tar.gz gcc-79771cc412e68e6d5234d20f81731402453e84ad.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8722e94..6acbafb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> + + PR optimization/14229 + * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. + 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr> * fold-const.c (fold): Strip NOPs that change the signedness diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index f35263f..35d7c9e 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. |