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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 21:30:06 2018
New Revision: 261968

URL: https://gcc.gnu.org/viewcvs?rev=261968&root=gcc&view=rev
Log:
        Backported from mainline
        2018-06-15  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/85878
        * expr.c (expand_assignment): Only call store_expr for halves if the
        mode is the same.

        * gfortran.fortran-torture/compile/pr85878.f90: New test.

Added:
   
branches/gcc-7-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85878.f90
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to