re PR tree-optimization/26145 (memory leak in loop unswitching.)
2006-02-07 Uttam Pawar <uttamp@us.ibm.com> PR tree-optimization/26145 * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free bbs pointer. From-SVN: r110738
This commit is contained in:
parent
fb02551af3
commit
77f6ec058d
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-02-07 Uttam Pawar <uttamp@us.ibm.com>
|
||||
|
||||
PR tree-optimization/26145
|
||||
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free
|
||||
bbs pointer.
|
||||
|
||||
2006-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR target/26109
|
||||
|
|
|
@ -255,6 +255,7 @@ tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num)
|
|||
if (!nloop)
|
||||
{
|
||||
free_original_copy_tables ();
|
||||
free (bbs);
|
||||
return changed;
|
||||
}
|
||||
|
||||
|
@ -265,6 +266,7 @@ tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num)
|
|||
/* Invoke itself on modified loops. */
|
||||
tree_unswitch_single_loop (loops, nloop, num + 1);
|
||||
tree_unswitch_single_loop (loops, loop, num + 1);
|
||||
free (bbs);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue