http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54146
--- Comment #52 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-16 14:27:59 UTC --- Author: rguenth Date: Thu Aug 16 14:27:51 2012 New Revision: 190445 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190445 Log: 2012-08-16 Richard Guenther <rguent...@suse.de> PR middle-end/54146 * tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the exit vector. * ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK. * cfgloop.h (FOR_EACH_LOOP_BREAK): Fix. * tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc. * tree-into-ssa.c (get_ssa_name_ann): Allocate info only when needed. * tree-ssa-loop-im.c (analyze_memory_references): Adjust. (tree_ssa_lim_finalize): Free all mem_refs. * tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free scc when bailing out. * modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK. * ira-build.c (loop_with_complex_edge_p): Free loop exit vector. * graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use FOR_EACH_LOOP_BREAK. Modified: trunk/gcc/ChangeLog trunk/gcc/cfgloop.h trunk/gcc/graphite-sese-to-poly.c trunk/gcc/ipa-pure-const.c trunk/gcc/ira-build.c trunk/gcc/modulo-sched.c trunk/gcc/tree-into-ssa.c trunk/gcc/tree-ssa-loop-im.c trunk/gcc/tree-ssa-loop-niter.c trunk/gcc/tree-ssa-sccvn.c trunk/gcc/tree-ssa-structalias.c