Small cleanup in cleanup_cfg.

From-SVN: r195576
This commit is contained in:
Marek Polacek 2013-01-30 11:53:28 +00:00 committed by Marek Polacek
parent e892936ec2
commit 01cb1ef501
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);
}