Re: [PATCH] Fix memory leak in vectorizable_conversion (PR middle-end/56461)

2013-03-04 Thread Richard Biener
On Fri, 1 Mar 2013, Jakub Jelinek wrote: > Hi! > > For the modifier == NONE && !slp_node case we call vect_get_vec_defs, so > we overwrite vec_oprnds0, thus we shouldn't allocate it. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Ok. Thanks, Richard. > 2013-03-01 Ja

[PATCH] Fix memory leak in vectorizable_conversion (PR middle-end/56461)

2013-03-01 Thread Jakub Jelinek
Hi! For the modifier == NONE && !slp_node case we call vect_get_vec_defs, so we overwrite vec_oprnds0, thus we shouldn't allocate it. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-03-01 Jakub Jelinek PR middle-end/56461 * tree-vect-stmts.c (vectori