SMS: Add missing free operation in mark_loop_unsched

From-SVN: r182271
This commit is contained in:
Revital Eres 2011-12-13 05:41:45 +00:00 committed by Revital Eres
parent 407a5d6ae3
commit 20936ceefe
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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