[PATCH 7/N] Fix newly introduced memory leak in tree-ssa-loop-ivopts.c
Fri Nov 27 07:03:00 GMT 2015
On Fri, Nov 27, 2015 at 5:08 AM, Martin Liška <email@example.com> wrote:
> There's one more patch that fixes really of lot memory leaks related to loop
> The regression was introduced by r230647.
> Patch was tested in the series with the rest and the compiler bootstraps
> Ready for trunk?
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.
More information about the Gcc-patches