https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92723
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 11 23:49:30 2019 New Revision: 279265 URL: https://gcc.gnu.org/viewcvs?rev=279265&root=gcc&view=rev Log: PR target/92723 * tree-vect-patterns.c (vect_recog_rotate_pattern): If dt is not vect_internal_def, use oprnd1 as is, without trying to cast it. Formatting fix. * gcc.dg/vect/pr92723.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr92723.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c