http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54713
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-26 09:19:55 UTC --- I think this is a bug in fold_ternary_loc. The thing is that forwprop tries to simplify_bitfield_ref, _24 = BIT_FIELD_REF <_9, 32, 0>, where _9 is TImode 4xint vector, _24 is int, and _9 = { _20, _23 }; where _20 and _23 are V2SI vectors. Fold then assumes that a vector CONSTRUCTOR will only contain scalars, not shorter vectors, and returns the first vector as whole.