[Bug middle-end/56461] [4.8 Regression] GCC is leaking lots of memory

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 5 09:40:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56461

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-05 09:38:52 UTC ---
Author: jakub
Date: Tue Mar  5 09:38:48 2013
New Revision: 196454

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196454
Log:
    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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-loop-niter.c



More information about the Gcc-bugs mailing list