diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0052cbb7322b..e8b9d02ae28b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-26 Richard Sandiford + + * cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag + after simplifying the jump. + 2004-06-26 Richard Henderson * calls.c (combine_pending_stack_adjustment_and_call): Make diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index f704d315a19d..517f0eddfb65 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; }