summaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-26 18:27:59 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-26 18:27:59 +0000
commitfe4306df6d38038dcd6d9f04a2981f58c77a83c2 (patch)
treee053bbed82001275f384795600688b40fcc9e4c7 /gcc/cfgcleanup.c
parent38413c80bf399864f812a2316a16313e4cdee6cd (diff)
downloadgcc-fe4306df6d38038dcd6d9f04a2981f58c77a83c2.tar.gz
* cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag
after simplifying the jump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index f704d315a19..517f0eddfb6 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -187,6 +187,7 @@ try_simplify_condjump (basic_block cbranch_block)
/* Delete the block with the unconditional jump, and clean up the mess. */
delete_basic_block (jump_block);
tidy_fallthru_edge (cbranch_jump_edge);
+ update_forwarder_flag (cbranch_block);
return true;
}