Re: [PATCH 8/N] Fix memory leak in tree-vectorizer.h

2015-12-08 Thread Richard Biener
On Tue, Dec 8, 2015 at 1:01 PM, Richard Biener wrote: > On Tue, Dec 8, 2015 at 12:30 PM, Martin Liška wrote: >> Hello. >> >> The patch removes memory leaks that are caused by overwriting an existing >> item in stmt_vec_info_vec (in set_vinfo_for_stmt). My first attempt was to >> call >> free_stm

Re: [PATCH 8/N] Fix memory leak in tree-vectorizer.h

2015-12-08 Thread Richard Biener
On Tue, Dec 8, 2015 at 12:30 PM, Martin Liška wrote: > Hello. > > The patch removes memory leaks that are caused by overwriting an existing > item in stmt_vec_info_vec (in set_vinfo_for_stmt). My first attempt was to > call > free_stmt_vec_info for old entries that are overwritten, but it caused