Re: [PATCH] Fix up vectorizer cost model use of uninitialized value (PR tree-optimization/52210)

2012-02-14 Thread Richard Guenther
On Mon, 13 Feb 2012, Jakub Jelinek wrote: Hi! The PR50912 changed vect_get_and_check_slp_defs dt from array into scalar, which fails when calling vect_model_simple_cost which looks at two array members. I believe even 4.6 checked just the first operand, as it called it when processing the

[PATCH] Fix up vectorizer cost model use of uninitialized value (PR tree-optimization/52210)

2012-02-13 Thread Jakub Jelinek
Hi! The PR50912 changed vect_get_and_check_slp_defs dt from array into scalar, which fails when calling vect_model_simple_cost which looks at two array members. I believe even 4.6 checked just the first operand, as it called it when processing the first operand, so IMHO this patch doesn't