On Fri, Nov 27, 2015 at 5:08 AM, Martin Liška <mli...@suse.cz> wrote: > Hi. > > There's one more patch that fixes really of lot memory leaks related to loop > ivopts. > The regression was introduced by r230647. > > Patch was tested in the series with the rest and the compiler bootstraps > successfully. > > Ready for trunk?
Hi Martin, Thanks for fixing my issue. The IVO part of patch is OK. Just for me to understand, iv_common_cand is freed via free_ptr_hash, and thus typed_free_remove. So what leaks is the iv_use * vector in struct iv_common_cand, right? I did forget to free that. BTW, how do you monitor memory use in GCC, maybe I can run same test for my future patches. Thanks, bin