aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2006-01-02 22:47:50 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-01-02 22:47:50 +0000
commitc8c3cb28fa6b56640e6ec8ce6feaf30e7c848cb5 (patch)
tree9ae9d94e53504579c5780cb80ef18bf1729a5658 /gcc/cfgrtl.c
parent99f1e970919e08ce15113e28618ec93ddc0cddc4 (diff)
downloadgcc-c8c3cb28fa6b56640e6ec8ce6feaf30e7c848cb5.zip
gcc-c8c3cb28fa6b56640e6ec8ce6feaf30e7c848cb5.tar.gz
gcc-c8c3cb28fa6b56640e6ec8ce6feaf30e7c848cb5.tar.bz2
cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction.
* cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction. * cfgrtl.c (force_nonfallthru_and_redirect): Accept all cases of conditional jump jumping to the next instruction. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r109247
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index fcf3590..6ff6c39 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1014,9 +1014,6 @@ force_nonfallthru_and_redirect (edge e, basic_block target)
by creating a basic block afterwards to redirect fallthru edge. */
if (e->src != ENTRY_BLOCK_PTR && e->dest != EXIT_BLOCK_PTR
&& any_condjump_p (BB_END (e->src))
- /* When called from cfglayout, fallthru edges do not
- necessarily go to the next block. */
- && e->src->next_bb == e->dest
&& JUMP_LABEL (BB_END (e->src)) == BB_HEAD (e->dest))
{
rtx note;