http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082
--- Comment #65 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-08 00:32:47 UTC --- Created attachment 22679 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22679 gcc46-pr41082.patch Found that now too. Anyway, I believe (if there is no performance issue) I can just tweak rs6000_expand_vector_extract this way, and the stve*x patterns would need to be fixed anyway, though, because it hardly can have the extra argument, it couldn't be VEC_SELECT, but I guess a scalar store with =Z or some similar constraint that forces reg or reg+reg, with source being jus tthe unspec UNSPEC_STVE with the vector as argument thereof.