From 261139ce148f4599580f18e434fe4a7216fdde3e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 26 Jul 2004 18:27:59 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cfgcleanup.c | 1 + 2 files changed, 6 insertions(+) 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 + + * 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 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; } -- 2.30.2