diff options
Diffstat (limited to 'gcc/tree-cfgcleanup.c')
-rw-r--r-- | gcc/tree-cfgcleanup.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c index f2454b01119..f8bca03e9df 100644 --- a/gcc/tree-cfgcleanup.c +++ b/gcc/tree-cfgcleanup.c @@ -529,22 +529,12 @@ bool cleanup_tree_cfg (void) { bool retval; - int i; timevar_push (TV_TREE_CLEANUP_CFG); - for (retval = true, i = 0; i < 5 && retval; i++) + do retval = cleanup_tree_cfg_1 (); - -#ifdef ENABLE_CHECKING - if (retval) - { - gcc_assert (!cleanup_control_flow ()); - gcc_assert (!delete_unreachable_blocks ()); - if (optimize > 0) - gcc_assert (!cleanup_forwarder_blocks ()); - } -#endif + while (retval); compact_blocks (); |