https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92723
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 20 17:41:17 2019 New Revision: 279671 URL: https://gcc.gnu.org/viewcvs?rev=279671&root=gcc&view=rev Log: Backported from mainline 2019-12-11 Jakub Jelinek <ja...@redhat.com> 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: branches/gcc-9-branch/gcc/testsuite/gcc.dg/vect/pr92723.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/tree-vect-patterns.c