diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 21:39:32 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 21:39:32 +0000 |
commit | 1ec025e4c46cd472228d777d78efdb49b9511505 (patch) | |
tree | 62c6f21b5f57fbd7f69d0f1096dfb0d88d89ed8a /gcc/tree-ssa-live.c | |
parent | 6ede36d7914b2fad1f45857b7a64f4c5a61be952 (diff) | |
download | gcc-1ec025e4c46cd472228d777d78efdb49b9511505.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110449 138bc75d-0d04-0410-961f-82ee72b054a4
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 e011a5d250c..5b9ead1f927 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); |