Commit 01cb1ef5 by Marek Polacek Committed by Marek Polacek

Small cleanup in cleanup_cfg.

From-SVN: r195576
parent e892936e
2013-01-30 Marek Polacek <polacek@redhat.com>
* cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
2013-01-30 Richard Biener <rguenther@suse.de>
PR lto/56147
......
......@@ -3017,14 +3017,11 @@ cleanup_cfg (int mode)
&& (changed
|| (mode & CLEANUP_CFG_CHANGED)))
{
bitmap changed_bbs;
timevar_push (TV_REPAIR_LOOPS);
/* The above doesn't preserve dominance info if available. */
gcc_assert (!dom_info_available_p (CDI_DOMINATORS));
calculate_dominance_info (CDI_DOMINATORS);
changed_bbs = BITMAP_ALLOC (NULL);
fix_loop_structure (changed_bbs);
BITMAP_FREE (changed_bbs);
fix_loop_structure (NULL);
free_dominance_info (CDI_DOMINATORS);
timevar_pop (TV_REPAIR_LOOPS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment