PR middle-end/85496
commit278e78215beaff3e187e1de33d9900eb0c16c754
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2018 20:19:39 +0000 (23 20:19 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2018 20:19:39 +0000 (23 20:19 +0000)
tree9f62d5a18312e9395a702a2f51c84dabac0256ef
parentbd20946f26d42b8b09f0ca167bdc3f201beee2c9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259574 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr85496.C [new file with mode: 0644]