cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag after simplifying...
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 26 Jul 2004 18:27:59 +0000 (18:27 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 26 Jul 2004 18:27:59 +0000 (18:27 +0000)
* cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag
after simplifying the jump.

From-SVN: r85200

gcc/ChangeLog
gcc/cfgcleanup.c

index 0052cbb7322bf02749e2c4571f6739d6f3bc7f9d..e8b9d02ae28bc3dfcf36eefec55dbb439b1da6c8 100644 (file)
@@ -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
index f704d315a19d4ce36d9dd026f6fd7f0d5726330b..517f0eddfb65308167b5f4823af3fffc60edce92 100644 (file)
@@ -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;
 }