mirror of git://gcc.gnu.org/git/gcc.git
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
|
@ -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>
|
2006-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||||
|
|
||||||
PR target/26109
|
PR target/26109
|
||||||
|
|
|
@ -255,6 +255,7 @@ tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num)
|
||||||
if (!nloop)
|
if (!nloop)
|
||||||
{
|
{
|
||||||
free_original_copy_tables ();
|
free_original_copy_tables ();
|
||||||
|
free (bbs);
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -265,6 +266,7 @@ tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num)
|
||||||
/* Invoke itself on modified loops. */
|
/* Invoke itself on modified loops. */
|
||||||
tree_unswitch_single_loop (loops, nloop, num + 1);
|
tree_unswitch_single_loop (loops, nloop, num + 1);
|
||||||
tree_unswitch_single_loop (loops, loop, num + 1);
|
tree_unswitch_single_loop (loops, loop, num + 1);
|
||||||
|
free (bbs);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue