]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/56461 (GCC is leaking lots of memory)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2013 09:38:48 +0000 (10:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2013 09:38:48 +0000 (10:38 +0100)
commitb4f9786b9a691f2c8d24a16d9bfe26c37f747d57
tree834e019a6c075db2d3f4c7133db8863fbc312071
parent93675444333665dd3f22e6d19c914e3247d19312
re PR middle-end/56461 (GCC is leaking lots of memory)

PR middle-end/56461
* tree-ssa-loop-niter.c (bb_queue): Remove typedef.
(discover_iteration_bound_by_body_walk): Change queues to
vec<vec<basic_block> > and queue to vec<basic_block>.  Fix up
spelling in comment.  Call safe_push on queues[bound_index] directly.
Release queues[queue_index] in every iteration unconditionally.
Release bounds vector.

From-SVN: r196454
gcc/ChangeLog
gcc/tree-ssa-loop-niter.c