* cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK.
(try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges
returns true.
From-SVN: r174046
+2011-05-22 Eric Botcazou <ebotcazou@adacore.com>
+
+ * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK.
+ (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges
+ returns true.
+
2011-05-22 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT.
+ REG_BR_PROB_BASE / 2)
/ REG_BR_PROB_BASE);
- if (!FORWARDER_BLOCK_P (b) && forwarder_block_p (b))
- b->flags |= BB_FORWARDER_BLOCK;
-
do
{
edge t;
/* Simplify branch to branch. */
if (try_forward_edges (mode, b))
- changed_here = true;
+ {
+ update_forwarder_flag (b);
+ changed_here = true;
+ }
/* Look for shared code between blocks. */
if ((mode & CLEANUP_CROSSJUMP)