mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 09:40:54 +08:00
SMS: Add missing free operation in mark_loop_unsched
From-SVN: r182271
This commit is contained in:
parent
407a5d6ae3
commit
20936ceefe
@ -1,3 +1,7 @@
|
||||
2011-12-13 Revital Eres <revital.eres@linaro.org>
|
||||
|
||||
* modulo-sched.c (mark_loop_unsched): Free bbs.
|
||||
|
||||
2011-12-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/51495
|
||||
|
@ -1204,6 +1204,8 @@ mark_loop_unsched (struct loop *loop)
|
||||
|
||||
for (i = 0; i < loop->num_nodes; i++)
|
||||
bbs[i]->flags |= BB_DISABLE_SCHEDULE;
|
||||
|
||||
free (bbs);
|
||||
}
|
||||
|
||||
/* Return true if all the BBs of the loop are empty except the
|
||||
|
Loading…
x
Reference in New Issue
Block a user