diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-09-15 23:55:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-09-15 23:55:05 +0200 |
commit | a0044be570e23969f742d62d734ff3dc570af48b (patch) | |
tree | 3a80fb5ba141a335e30a28fc364cb58ee7216972 /gcc/tree-data-ref.c | |
parent | 8f57ac5a83dd534f7a2be8489b7dd04f6c68e8cf (diff) | |
download | gcc-a0044be570e23969f742d62d734ff3dc570af48b.tar.gz |
tree-predcom.c (filter_suitable_components): Free all refs in act->refs vector before calling release_component.
* tree-predcom.c (filter_suitable_components): Free all refs in
act->refs vector before calling release_component.
(add_ref_to_chain): Free ref if not adding it to chain->refs.
* tree-data-ref.c (free_subscripts): Free all subscript objects.
* tree-loop-linear.c (linear_transform_loops): Initialize
lambda_obstack only after calling perfect_loop_nest_depth.
Goto free_and_continue instead of just continue for later failures.
From-SVN: r140376
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r-- | gcc/tree-data-ref.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 2be0ad1b401..5a52d266e9b 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -1398,6 +1398,7 @@ free_subscripts (VEC (subscript_p, heap) *subscripts) { free_conflict_function (s->conflicting_iterations_in_a); free_conflict_function (s->conflicting_iterations_in_b); + free (s); } VEC_free (subscript_p, heap, subscripts); } |