[PATCH] Fix memleaks

2018-05-04 Thread Richard Biener
The following fixes three memleaks I discovered when double-checking a local patch. Bootstrap / regtest running on x86_64-unknown-linux-gnu. Richard. 2018-05-04 Richard Biener * bb-reorder.c (sanitize_hot_paths): Release hot_bbs_to_check. * gimple-ssa-store-merging.c

[PATCH] Fix memleaks obvious from PR54146

2012-08-16 Thread Richard Guenther
This fixes some memleaks which look obvious when looking at -fmem-report of PR54146. Most important the tree-ssa-loop-im.c leak. Bootstrap and regtest ongoing on x86_64-unknown-linux-gnu. Richard. 2012-08-16 Richard Guenther PR middle-end/54146 * tree-ssa-loop-niter.c (find