This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]