diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2005-04-22 14:17:07 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2005-04-22 14:17:07 +0000 |
commit | e6ef8d816eb03369d473bd2f482848e175999b49 (patch) | |
tree | a4ade7f681dcdb7f8021ebae6de9da8575b84070 /gcc/tree-loop-linear.c | |
parent | 8ca864d2a8cfd66dadfce83846651504c0975e3c (diff) | |
download | gcc-e6ef8d816eb03369d473bd2f482848e175999b49.tar.gz |
lambda-code.c: Define VEC(int,heap), VEC(lambda_loop,heap).
* lambda-code.c: Define VEC(int,heap), VEC(lambda_loop,heap).
(gcc_tree_to_linear_expression): Convert to heap allocated
vectors.
(gcc_loop_to_lambda_loop, gcc_loopnest_to_lambda_loopnest,
lbv_to_gcc_expression, lle_to_gcc_expression,
lambda_loopnest_to_gcc_loopnest, can_convert_to_perfect_nest,
perfect_nestify): Likewise.
lambda.h (gcc_loopnest_to_lambda_loopnest,
lambda_loopnest_to_gcc_loopnest): Likewise.
tree-loop-linear.c (linear_transform_loops): Likewise.
From-SVN: r98561
Diffstat (limited to 'gcc/tree-loop-linear.c')
-rw-r--r-- | gcc/tree-loop-linear.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/tree-loop-linear.c b/gcc/tree-loop-linear.c index b7e57a63603..de75de4e531 100644 --- a/gcc/tree-loop-linear.c +++ b/gcc/tree-loop-linear.c @@ -243,9 +243,8 @@ void linear_transform_loops (struct loops *loops) { unsigned int i; - VEC(tree,gc) *oldivs = NULL; /* FIXME:These should really be on the - heap. (nathan 2005/04/15)*/ - VEC(tree,gc) *invariants = NULL; /* FIXME:Likewise. */ + VEC(tree,heap) *oldivs = NULL; + VEC(tree,heap) *invariants = NULL; for (i = 1; i < loops->num; i++) { @@ -371,8 +370,8 @@ linear_transform_loops (struct loops *loops) free_dependence_relations (dependence_relations); free_data_refs (datarefs); } - VEC_free (tree, gc, oldivs); - VEC_free (tree, gc, invariants); + VEC_free (tree, heap, oldivs); + VEC_free (tree, heap, invariants); scev_reset (); update_ssa (TODO_update_ssa); rewrite_into_loop_closed_ssa (NULL); |