https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92723
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:c58bec27145c9a049d6642ca011b7f0fbe9c5f33 commit r8-9993-gc58bec27145c9a049d6642ca011b7f0fbe9c5f33 Author: Jakub Jelinek <ja...@redhat.com> Date: Fri Feb 14 13:08:33 2020 +0100 backport: re PR target/92723 (ICE in expand_shift_1, at expmed.c:2635) 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.