https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Mon Apr 23 20:31:17 2018 New Revision: 259577 URL: https://gcc.gnu.org/viewcvs?rev=259577&root=gcc&view=rev Log: 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. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/torture/pr85496.C - copied unchanged from r259574, trunk/gcc/testsuite/g++.dg/torture/pr85496.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/expr.c branches/gcc-6-branch/gcc/testsuite/ChangeLog