Re: [PATCH] Fix thinko in build_vector_from_ctor (PR middle-end/69915)

2016-02-24 Thread Richard Biener
On Tue, Feb 23, 2016 at 9:06 PM, Jakub Jelinek wrote: > Hi! > > This function has changed last year to support embedded VECTOR_CSTs in the > ctor elements. Before that change, there was no pos var and idx used to > match exactly the indices in the new vector, but if there is any VECTOR_CST, > it

[PATCH] Fix thinko in build_vector_from_ctor (PR middle-end/69915)

2016-02-23 Thread Jakub Jelinek
Hi! This function has changed last year to support embedded VECTOR_CSTs in the ctor elements. Before that change, there was no pos var and idx used to match exactly the indices in the new vector, but if there is any VECTOR_CST, it will fill in more positions. Unfortunately, the final loop which z