https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Apr 23 20:19:39 2018
New Revision: 259574

URL: https://gcc.gnu.org/viewcvs?rev=259574&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:
    trunk/gcc/testsuite/g++.dg/torture/pr85496.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to