This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/68393] internal compiler error: in convert_move, at expr.c:286


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

--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Thu Nov 19 08:17:21 2015
New Revision: 230590

URL: https://gcc.gnu.org/viewcvs?rev=230590&root=gcc&view=rev
Log:
PR 68393: Handle SUBREG_PROMOTED_VAR_P in expand_direct_optab_fn

Do the usual dance when assigning to SUBREG_PROMOTED_VAR_P destinations:
first convert to the outer mode, then extend to the inner mode.

Tested that it fixes the powerpc64le-linux-gnu breakage.  Also tested
on x86_64-linux-gnu and powerpc64-linux-gnu.

gcc/
        PR bootstrap/68393
        * internal-fn.c (expand_direct_optab_fn): Handle SUBREG_PROMOTED_VAR_P
        destinations.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/internal-fn.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]