http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49621
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-07 12:07:10 UTC --- Created attachment 24706 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24706 gcc47-pr49621.patch I believe the bug is in the ppc vector select patterns, comparing a vector mode reg with const0_rtx in a NE is bound to confuse the middle-end. Both operands of a comparison should always have either the same mode, or one should be VOIDmode and the other should have integer or CC mode. The following patch fixes this, completely untested so far.