re PR target/92723 (ICE in expand_shift_1, at expmed.c:2635)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Dec 2019 23:49:30 +0000 (00:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Dec 2019 23:49:30 +0000 (00:49 +0100)
commitf5c03155aa77bdb065fed3c5a0031db45a850493
tree663f9c03ab5cfa1241566de459ae21079f9630d5
parent4f9438698143ae15df338ce085f765c1a5016b36
re PR target/92723 (ICE in expand_shift_1, at expmed.c:2635)

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.

From-SVN: r279265
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr92723.c [new file with mode: 0644]
gcc/tree-vect-patterns.c