re PR target/72717 (ICE: in emit_move_insn, at expr.c:3693 with vector shift @ powerp...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Wed, 7 Dec 2016 23:52:05 +0000 (23:52 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 7 Dec 2016 23:52:05 +0000 (23:52 +0000)
commitfc3f36f9a1642338da8c0428ea5dc140402556c9
tree5df0a140dbb666b91c6d6bb15e3c306fe514afab
parent18697a1de7710088982537008b244a80361cc4e0
re PR target/72717 (ICE: in emit_move_insn, at expr.c:3693 with vector shift @ powerpc64le)

[gcc]
2016-12-07  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/72717
* config/rs6000/rs6000.c (rs6000_expand_vector_init): If the
V2DImode elements are SUBREG's convert the result into DImode
rather than failing in emit_move_insn.

[gcc/testsuite]
2016-12-07  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/72717
* gcc.target/powerpc/pr72717.c: New test.

From-SVN: r243418
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr72717.c [new file with mode: 0644]