From: Richard Sandiford Date: Mon, 26 Jul 2004 18:27:59 +0000 (+0000) Subject: cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag after simplifying... X-Git-Tag: releases/gcc-4.0.0~6305 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=261139ce148f4599580f18e434fe4a7216fdde3e;p=thirdparty%2Fgcc.git 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 --- 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; }