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 <mpolacek@gcc.gnu.org>2013-01-30 11:53:28 +0000
commit01cb1ef501d0fe19b105e745e55c1f15ec472066 (patch)
tree80c2ea7c4c43a6ea44ce665998884852b28de1b6 /gcc/cfgcleanup.c
parente892936ec2294248f9bf0f421d1c89b65a8598be (diff)
downloadgcc-01cb1ef501d0fe19b105e745e55c1f15ec472066.zip
gcc-01cb1ef501d0fe19b105e745e55c1f15ec472066.tar.gz
gcc-01cb1ef501d0fe19b105e745e55c1f15ec472066.tar.bz2
Small cleanup in cleanup_cfg.
From-SVN: r195576
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 89ae825..471d293 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);
}