aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-07-26 18:27:59 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-07-26 18:27:59 +0000
commit261139ce148f4599580f18e434fe4a7216fdde3e (patch)
treee053bbed82001275f384795600688b40fcc9e4c7 /gcc
parent95899b34957e97c03851efb4d482f3efe53a68f9 (diff)
downloadgcc-261139ce148f4599580f18e434fe4a7216fdde3e.zip
gcc-261139ce148f4599580f18e434fe4a7216fdde3e.tar.gz
gcc-261139ce148f4599580f18e434fe4a7216fdde3e.tar.bz2
cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag after simplifying the jump.
* cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag after simplifying the jump. From-SVN: r85200
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgcleanup.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0052cbb..e8b9d02 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-26 Richard Sandiford <rsandifo@redhat.com>
+
+ * cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag
+ after simplifying the jump.
+
2004-06-26 Richard Henderson <rth@redhat.com>
* calls.c (combine_pending_stack_adjustment_and_call): Make
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index f704d31..517f0ed 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;
}