aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2013-01-30 11:53:28 +0000
committerMarek Polacek <polacek@redhat.com>2013-01-30 11:53:28 +0000
commit9f143909a645b3c425b60468de15d19e4104df56 (patch)
tree80c2ea7c4c43a6ea44ce665998884852b28de1b6 /gcc/cfgcleanup.c
parentff68137c487dfc3d2fe65d545866956826b35ab4 (diff)
Small cleanup in cleanup_cfg.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195576 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 89ae8251bbc..471d293f12f 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -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);
}