diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-30 11:53:28 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-30 11:53:28 +0000 |
commit | 022d4ccc2b0052a7ec0266f8e63c94055a82fd8b (patch) | |
tree | 80c2ea7c4c43a6ea44ce665998884852b28de1b6 | |
parent | 224a26c587c46f13ec2dd3e0202a4442f742c1c9 (diff) | |
download | gcc-022d4ccc2b0052a7ec0266f8e63c94055a82fd8b.tar.gz |
Small cleanup in cleanup_cfg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195576 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgcleanup.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47eb2c7979e..54b2167f881 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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); } |