Hello,
The patch below adds a missing free operation in mark_loop_unsched.
Tested (bootstrap and regtest) ppc64-redhat-linux.
OK for 3.7?
Thanks,
Revital
Changelog:
* modulo-sched.c (mark_loop_unsched): Free bbs.
Index: modulo-sched.c
===================================================================
--- modulo-sched.c (revision 182198)
+++ modulo-sched.c (working copy)
@@ -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