diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfgcleanup.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0052cbb7322..e8b9d02ae28 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 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; } |