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/tree-ssa-live.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/tree-ssa-live.c')
-rw-r--r-- | gcc/tree-ssa-live.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index e011a5d..5b9ead1 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -1078,13 +1078,13 @@ type_var_init (var_map map) tree t; sbitmap seen; - seen = sbitmap_alloc (num_partitions); - sbitmap_zero (seen); - tv = tpa_init (map); if (!tv) return NULL; + seen = sbitmap_alloc (num_partitions); + sbitmap_zero (seen); + for (x = num_partitions - 1; x >= 0; x--) { t = partition_to_var (map, x); |