re PR target/78643 (ICE in convert_move, at expr.c:230)
authorJakub Jelinek <jakub@redhat.com>
Sat, 2 Dec 2017 07:54:47 +0000 (08:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 2 Dec 2017 07:54:47 +0000 (08:54 +0100)
commite034c5c895722e0092d2239cd8c2991db77d6d39
tree128171fc7beeba4de19df412d9d8a94d75ce0164
parent3b5e1089fedddec6d8299ba1800705b65c574d32
re PR target/78643 (ICE in convert_move, at expr.c:230)

PR target/78643
PR target/80583
* expr.c (get_inner_reference): If DECL_MODE of a non-bitfield
is BLKmode for vector field with vector raw mode, use TYPE_MODE
instead of DECL_MODE.

* gcc.target/i386/pr80583.c: New test.

From-SVN: r255353
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr80583.c [new file with mode: 0644]