diff options
author | Uttam Pawar <uttamp@us.ibm.com> | 2006-01-31 21:39:32 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2006-01-31 16:39:32 -0500 |
commit | b6cdba274270fd56c31a8bfc1bb5c0a61f7522cc (patch) | |
tree | 62c6f21b5f57fbd7f69d0f1096dfb0d88d89ed8a /gcc/loop-unroll.c | |
parent | 03e34d09a5f61ba6b862a6d0e8845408d98556e8 (diff) | |
download | gcc-b6cdba274270fd56c31a8bfc1bb5c0a61f7522cc.zip gcc-b6cdba274270fd56c31a8bfc1bb5c0a61f7522cc.tar.gz gcc-b6cdba274270fd56c31a8bfc1bb5c0a61f7522cc.tar.bz2 |
re PR middle-end/25933 (memory leaks)
2006-01-31 Uttam Pawar <uttamp@us.ibm.com>
PR middle-end/25933
* loop-unroll.c (unroll_loop_runtime_iterations): Free
dom_bbs pointer.
* tree-ssa-live.c (type_var_init): Allocate bitmap after
call to tpa_init.
From-SVN: r110449
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index d25caf9..48f9deb 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -1167,6 +1167,9 @@ unroll_loop_runtime_iterations (struct loops *loops, struct loop *loop) ";; Unrolled loop %d times, counting # of iterations " "in runtime, %i insns\n", max_unroll, num_loop_insns (loop)); + + if (dom_bbs) + free (dom_bbs); } /* Decide whether to simply peel LOOP and how much. */ |