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

Reply via email to