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
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
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 double
frees
as there are some references between stmt_vec_infos.