re PR middle-end/85496 (internal compiler error: in emit_move_insn, at expr.c:3722)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 23 Apr 2018 20:19:39 +0000 (20:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 23 Apr 2018 20:19:39 +0000 (20:19 +0000)
commita689171e506f55ab8fb336af3b816272f4209af0
tree9f62d5a18312e9395a702a2f51c84dabac0256ef
parent53de8a7e13cae771fdcda36abee4787bd6575ed7
re PR middle-end/85496 (internal compiler error: in emit_move_insn, at expr.c:3722)

PR middle-end/85496
* expr.c (store_field): In the bitfield case, if the value comes from
a function call and is returned in registers by means of a PARALLEL,
do not change the mode of the temporary unless BLKmode and VOIDmode.

From-SVN: r259574
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr85496.C [new file with mode: 0644]