re PR middle-end/90139 (ICE in emit_block_move_hints, at expr.c:1601)
authorJakub Jelinek <jakub@redhat.com>
Fri, 19 Apr 2019 11:58:11 +0000 (13:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 19 Apr 2019 11:58:11 +0000 (13:58 +0200)
commita7bfaee58fea4f4b08e96bc3ba991a5fc164864c
tree99e15fefd71e4211eed744c278b1ca3b8e50bf5b
parent7296c0c537870eea056011c019cfe8ee92ef4a00
re PR middle-end/90139 (ICE in emit_block_move_hints, at expr.c:1601)

PR middle-end/90139
* tree-outof-ssa.c (get_temp_reg): If reg_mode is BLKmode, return
assign_temp instead of gen_reg_rtx.

* gcc.c-torture/compile/pr90139.c: New test.

From-SVN: r270457
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr90139.c [new file with mode: 0644]
gcc/tree-outof-ssa.c