On Thu, Feb 28, 2013 at 3:06 PM, Jakub Jelinek wrote:
> Hi!
>
> This is small, but quite common memory leak in slp vectorization.
> vec_alloc (vec_defs, number_of_vects);
> on vl_ptr-ish vec *vec_defs; first calls new on the vec
> (i.e. allocates sizeof (void *) bytes), and then actually creates v
Hi!
This is small, but quite common memory leak in slp vectorization.
vec_alloc (vec_defs, number_of_vects);
on vl_ptr-ish vec *vec_defs; first calls new on the vec
(i.e. allocates sizeof (void *) bytes), and then actually creates vector
pointed to by that. Later on we copy the content of what it